HLSL: Allow expressions in attributes
For example: [numthreads(2+2, 2*3, (1+FOO)*BAR)] This will result in a thread count (4, 6, 8).
Showing
- Test/baseResults/hlsl.attribute.expression.comp.out 138 additions, 0 deletionsTest/baseResults/hlsl.attribute.expression.comp.out
- Test/hlsl.attribute.expression.comp 15 additions, 0 deletionsTest/hlsl.attribute.expression.comp
- gtests/Hlsl.FromFile.cpp 1 addition, 0 deletionsgtests/Hlsl.FromFile.cpp
- hlsl/hlslGrammar.cpp 13 additions, 11 deletionshlsl/hlslGrammar.cpp
Loading
Please register or sign in to comment