From 127f0c5848f405f9d4f4b1f7f27006c26db748ed Mon Sep 17 00:00:00 2001 From: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> Date: Tue, 13 Aug 2024 00:04:15 -0400 Subject: Emit memory qualifier once for GLSL targets (#4819) Fixes #4818 Emit memory qualifier once for GLSL targets. Co-authored-by: Yong He --- source/slang/slang-emit-glsl.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'source') diff --git a/source/slang/slang-emit-glsl.cpp b/source/slang/slang-emit-glsl.cpp index 0fb868342..86ad0be6e 100644 --- a/source/slang/slang-emit-glsl.cpp +++ b/source/slang/slang-emit-glsl.cpp @@ -228,7 +228,6 @@ void GLSLSourceEmitter::_emitGLSLStructuredBuffer(IRGlobalParam* varDecl, IRHLSL HLSLAppendStructuredBufferType - Write HLSLConsumeStructuredBufferType - TODO (JS): Its possible that this can be readonly, but we currently don't support on GLSL */ - _emitMemoryQualifierDecorations(varDecl); if (as(structuredBufferType)) { m_writer->emit("readonly "); -- cgit v1.2.3