Merge pull request #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git] / Test / hlsl.attribute.expression.comp
1
2 uniform int bound;
3
4 #define FOO 3
5 #define BAR 2
6
7 [numthreads(2+2, 2*3, (1+FOO)*BAR)]
8 void main()
9 {
10     [unroll(5*2 + 1) ]
11         for (int x=0; x<bound; ++x)
12             ;
13 }