summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-entry-point-uniforms.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-10-08 08:37:53 -0400
committerGitHub <noreply@github.com>2019-10-08 08:37:53 -0400
commitdc1e735bbc6a35d4a1d5c1ec720a7a95c0555f49 (patch)
tree7020737abd74ccfcb6d24e1f294b3193867b3042 /source/slang/slang-ir-entry-point-uniforms.cpp
parent7c8527d20e433c3a10736136d31e4cd882a3baaa (diff)
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).
Diffstat (limited to 'source/slang/slang-ir-entry-point-uniforms.cpp')
-rw-r--r--source/slang/slang-ir-entry-point-uniforms.cpp2
1 files changed, 1 insertions, 1 deletions
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