From dc1e735bbc6a35d4a1d5c1ec720a7a95c0555f49 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 8 Oct 2019 08:37:53 -0400 Subject: Feature/ir entry point profile (#1068) * Split out EntryPointParamDecoration. * Add profile to EntryPointDecoration. * WIP for GS handling for GLSL. * WIP for StreamOut GLSL * Fixed GLSL geometry output. * Clean up - remove unneeded/commented out code from the entry point change. * Use Op nums to identify GeometryTypeDecorations (as opposed to contained enum). --- source/slang/slang-ir-entry-point-uniforms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-ir-entry-point-uniforms.cpp') diff --git a/source/slang/slang-ir-entry-point-uniforms.cpp b/source/slang/slang-ir-entry-point-uniforms.cpp index 670327446..9e36c0853 100644 --- a/source/slang/slang-ir-entry-point-uniforms.cpp +++ b/source/slang/slang-ir-entry-point-uniforms.cpp @@ -250,7 +250,7 @@ struct MoveEntryPointUniformParametersToGlobalScope globalParam = builder->createGlobalParam(paramStructType); // Mark that this global comes from the entry point - builder->addEntryPointDecoration(globalParam); + builder->addDecoration(globalParam, kIROp_EntryPointParamDecoration); } // No matter what, the global shader parameter should have the layout -- cgit v1.2.3