HLSL: add .mips[][] operator for texture types
This implements mytex.mips[mip][coord] for texture types. There is some error testing, but not comprehensive. The constructs can be nested, e.g in this case the inner .mips is parsed before the completion of the outer [][] operator. tx.mips[tx.mips[a][b].x][c]
Showing
- Test/baseResults/hlsl.mip.negative.frag.out 68 additions, 0 deletionsTest/baseResults/hlsl.mip.negative.frag.out
- Test/baseResults/hlsl.mip.negative2.frag.out 74 additions, 0 deletionsTest/baseResults/hlsl.mip.negative2.frag.out
- Test/baseResults/hlsl.mip.operator.frag.out 209 additions, 0 deletionsTest/baseResults/hlsl.mip.operator.frag.out
- Test/hlsl.mip.negative.frag 9 additions, 0 deletionsTest/hlsl.mip.negative.frag
- Test/hlsl.mip.negative2.frag 9 additions, 0 deletionsTest/hlsl.mip.negative2.frag
- Test/hlsl.mip.operator.frag 14 additions, 0 deletionsTest/hlsl.mip.operator.frag
- Test/remap.specconst.comp 7 additions, 0 deletionsTest/remap.specconst.comp
- gtests/Hlsl.FromFile.cpp 3 additions, 0 deletionsgtests/Hlsl.FromFile.cpp
- hlsl/hlslParseHelper.cpp 44 additions, 13 deletionshlsl/hlslParseHelper.cpp
- hlsl/hlslParseHelper.h 11 additions, 0 deletionshlsl/hlslParseHelper.h
Loading
Please register or sign in to comment