mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
cd6b2382d0
Output variables in GLCompute shaders is not supported in Vulkan. Recent upgrade of spirv-tools revealed this problem.
14 lines
175 B
Plaintext
14 lines
175 B
Plaintext
|
|
uniform int bound;
|
|
|
|
#define FOO 3
|
|
#define BAR 2
|
|
|
|
[numthreads(2+2, 2*3, (1+FOO)*BAR)]
|
|
void main()
|
|
{
|
|
[unroll(5*2 + 1) ]
|
|
for (int x=0; x<bound; ++x)
|
|
;
|
|
}
|