Revision 5d2c5dd9f748d728abf2a4361fca71a7f9ec65b6 authored by Yong He on 21 March 2023, 22:44:43 UTC, committed by GitHub on 21 March 2023, 22:44:43 UTC
* Fix IntVal type check.

* add test case result.

---------

Co-authored-by: Yong He <yhe@nvidia.com>
1 parent 96caba7
Raw File
spirv-debug-break.slang.expected
result code = 0
standard error = {
}
standard output = {
#version 450
#extension GL_EXT_spirv_intrinsics : require
layout(row_major) uniform;
layout(row_major) buffer;

#line 5 0
spirv_instruction(id = 1, set = "NonSemantic.DebugBreak")
void _spvDebugBreak_0(int _0);


#line 12
layout(std430, binding = 0) buffer _S1 {
    uint _data[];
} resultBuffer_0;
layout(local_size_x = 4, local_size_y = 1, local_size_z = 1) in;
void main()
{

#line 17
    uint threadId_0 = gl_GlobalInvocationID.x;

    _spvDebugBreak_0(1);

    uint _S2 = threadId_0 + threadId_0;

#line 21
    ((resultBuffer_0)._data[(threadId_0)]) = _S2;
    return;
}

}
back to top