HLSL: cast bracket dereference index to int type if not.
HLSL can index arrays using operator[] with non-integer types, and inserts a conversion to a uint if needed.
Showing
- Test/baseResults/hlsl.nonint-index.frag.out 151 additions, 0 deletionsTest/baseResults/hlsl.nonint-index.frag.out
- Test/hlsl.nonint-index.frag 9 additions, 0 deletionsTest/hlsl.nonint-index.frag
- gtests/Hlsl.FromFile.cpp 1 addition, 0 deletionsgtests/Hlsl.FromFile.cpp
- hlsl/hlslGrammar.cpp 2 additions, 0 deletionshlsl/hlslGrammar.cpp
- hlsl/hlslParseHelper.cpp 12 additions, 0 deletionshlsl/hlslParseHelper.cpp
Loading
Please register or sign in to comment