WIP: HLSL: add refection queries for structuredbuffer counter blocks
This adds TProgram::getUniformBlockCounterIndex(int index), which returns the index the block of the counter buffer associated with the block of the passed in index, if any, or -1 if none.
Showing
- Test/baseResults/hlsl.structbuffer.append.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.structbuffer.append.frag.out
- glslang/MachineIndependent/ShaderLang.cpp 1 addition, 0 deletionsglslang/MachineIndependent/ShaderLang.cpp
- glslang/MachineIndependent/reflection.cpp 15 additions, 0 deletionsglslang/MachineIndependent/reflection.cpp
- glslang/MachineIndependent/reflection.h 12 additions, 2 deletionsglslang/MachineIndependent/reflection.h
- glslang/Public/ShaderLang.h 1 addition, 0 deletionsglslang/Public/ShaderLang.h
- hlsl/hlslParseHelper.cpp 1 addition, 2 deletionshlsl/hlslParseHelper.cpp
Loading
Please register or sign in to comment