WIP: HLSL: add refection queries for structuredbuffer counter blocks
authorsteve-lunarg <steve_gh@khasekhemwy.net>
Sat, 15 Apr 2017 14:18:16 +0000 (08:18 -0600)
committersteve-lunarg <steve_gh@khasekhemwy.net>
Tue, 18 Apr 2017 18:58:15 +0000 (12:58 -0600)
commit350b94856a5ef49a49237de329be9e43e55519d6
treed4c7af1c95c16e239304f3ad4eff7a08c7e898af
parent12bc9aa9ce70faa37205c30f3e04b37cc1b0e689
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.
Test/baseResults/hlsl.structbuffer.append.frag.out
glslang/MachineIndependent/ShaderLang.cpp
glslang/MachineIndependent/reflection.cpp
glslang/MachineIndependent/reflection.h
glslang/Public/ShaderLang.h
hlsl/hlslParseHelper.cpp