Skip to content

Commit

Permalink
SPV: Fix KhronosGroup#1829: don't emit OpModuleProcessed use-storage-…
Browse files Browse the repository at this point in the history
…buffer
  • Loading branch information
johnkslang committed Aug 6, 2020
1 parent 695e1de commit b60e067
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion Test/baseResults/spv.debugInfo.1.1.frag.out
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ void main()
ModuleProcessed "suppress-warnings"
ModuleProcessed "hlsl-offsets"
ModuleProcessed "entry-point main"
ModuleProcessed "use-storage-buffer"
Decorate 24(inv) Location 0
Decorate 52(outv) Location 0
MemberDecorate 53(S) 0 Offset 0
Expand Down
6 changes: 1 addition & 5 deletions glslang/MachineIndependent/localintermediate.h
Original file line number Diff line number Diff line change
Expand Up @@ -494,11 +494,7 @@ class TIntermediate {
void addSymbolLinkageNodes(TIntermAggregate*& linkage, EShLanguage, TSymbolTable&);
void addSymbolLinkageNode(TIntermAggregate*& linkage, const TSymbol&);

void setUseStorageBuffer()
{
useStorageBuffer = true;
processes.addProcess("use-storage-buffer");
}
void setUseStorageBuffer() { useStorageBuffer = true; }
bool usingStorageBuffer() const { return useStorageBuffer; }
void setDepthReplacing() { depthReplacing = true; }
bool isDepthReplacing() const { return depthReplacing; }
Expand Down

0 comments on commit b60e067

Please sign in to comment.