Skip to content

Commit b60e067

Browse files
committed
SPV: Fix KhronosGroup#1829: don't emit OpModuleProcessed use-storage-buffer
1 parent 695e1de commit b60e067

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Test/baseResults/spv.debugInfo.1.1.frag.out

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ void main()
9090
ModuleProcessed "suppress-warnings"
9191
ModuleProcessed "hlsl-offsets"
9292
ModuleProcessed "entry-point main"
93-
ModuleProcessed "use-storage-buffer"
9493
Decorate 24(inv) Location 0
9594
Decorate 52(outv) Location 0
9695
MemberDecorate 53(S) 0 Offset 0

glslang/MachineIndependent/localintermediate.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -494,11 +494,7 @@ class TIntermediate {
494494
void addSymbolLinkageNodes(TIntermAggregate*& linkage, EShLanguage, TSymbolTable&);
495495
void addSymbolLinkageNode(TIntermAggregate*& linkage, const TSymbol&);
496496

497-
void setUseStorageBuffer()
498-
{
499-
useStorageBuffer = true;
500-
processes.addProcess("use-storage-buffer");
501-
}
497+
void setUseStorageBuffer() { useStorageBuffer = true; }
502498
bool usingStorageBuffer() const { return useStorageBuffer; }
503499
void setDepthReplacing() { depthReplacing = true; }
504500
bool isDepthReplacing() const { return depthReplacing; }

0 commit comments

Comments
 (0)