blob: d8ac8e010dd1c59cd022bbe3c20f9624152d4319 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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;
}
}
|