summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-glsl.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-10-08 11:50:43 -0400
committerGitHub <noreply@github.com>2019-10-08 11:50:43 -0400
commitc61d529d9aec30dd80e0e915cfad01d42be7e153 (patch)
tree6b7d8ac25df9469fa9a2816f8756b10a66019891 /source/slang/slang-emit-glsl.cpp
parentcae56127251b4766f686c2ec6d4672da3ded160f (diff)
Remove EntryPointLayout* use in emit logic. (#1071)
* 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). * Remove setSampleRateFlag & doSampleRateInputCheck * Remove EntryPointLayout from emit. * Change to force CI.
Diffstat (limited to 'source/slang/slang-emit-glsl.cpp')
-rw-r--r--source/slang/slang-emit-glsl.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/slang/slang-emit-glsl.cpp b/source/slang/slang-emit-glsl.cpp
index 78d34d649..280eafd70 100644
--- a/source/slang/slang-emit-glsl.cpp
+++ b/source/slang/slang-emit-glsl.cpp
@@ -652,15 +652,10 @@ void GLSLSourceEmitter::emitParameterGroupImpl(IRGlobalParam* varDecl, IRUniform
_emitGLSLParameterGroup(varDecl, type);
}
-void GLSLSourceEmitter::emitEntryPointAttributesImpl(IRFunc* irFunc, EntryPointLayout* entryPointLayout)
+void GLSLSourceEmitter::emitEntryPointAttributesImpl(IRFunc* irFunc, IREntryPointDecoration* entryPointDecor)
{
- SLANG_UNUSED(entryPointLayout);
-
- IREntryPointDecoration* entryPointDecor = irFunc->findDecoration<IREntryPointDecoration>();
SLANG_ASSERT(entryPointDecor);
- //auto profile = entryPointLayout->profile;
-
auto profile = entryPointDecor->getProfile();
auto stage = profile.GetStage();