summaryrefslogtreecommitdiffstats
path: root/source/slang/reflection.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-07-07 08:14:01 -0700
committerTim Foley <tfoley@nvidia.com>2017-07-07 08:14:01 -0700
commitb6c299ee58e397898e09c9a4168627a26ed7b72f (patch)
treeec85a2ae70b3ea1af8c68d188ff97b8ec03ad303 /source/slang/reflection.cpp
parent0f1d6613296f43d31e3d0d9fec5f03f1324bdad0 (diff)
Handle new parameter category cases in reflection JSON emit
This logic hadn't been updated for Vulkan GLSL.
Diffstat (limited to 'source/slang/reflection.cpp')
-rw-r--r--source/slang/reflection.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/reflection.cpp b/source/slang/reflection.cpp
index f71435c6f..b27cc0696 100644
--- a/source/slang/reflection.cpp
+++ b/source/slang/reflection.cpp
@@ -842,6 +842,10 @@ static void emitReflectionVarBindingInfoJSON(
CASE(VERTEX_INPUT, vertexInput);
CASE(FRAGMENT_OUTPUT, fragmentOutput);
CASE(SAMPLER_STATE, samplerState);
+ CASE(UNIFORM, uniform);
+ CASE(DESCRIPTOR_TABLE_SLOT, descriptorTableSlot);
+ CASE(SPECIALIZATION_CONSTANT, specializationConstant);
+ CASE(MIXED, mixed);
#undef CASE
default: