First Commit
This commit is contained in:
13
externals/glslang/Test/hlsl.attribute.expression.comp
vendored
Normal file
13
externals/glslang/Test/hlsl.attribute.expression.comp
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
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)
|
||||
;
|
||||
}
|
||||
Reference in New Issue
Block a user