Replace #422: Remove the redundant location setting in AST->SPIR-V.

This was redundant in two ways:
1) it replicated algorithms owned in the front end, and
2) it sometimes left location information on both a block and its members.
This commit is contained in:
John Kessenich
2017-06-04 13:22:39 -06:00
parent 94c18a84cd
commit 7cdf3fc3c6
2 changed files with 7 additions and 30 deletions

View File

@@ -38,11 +38,8 @@ Warning, version 450 is not yet complete; most version-specific features are pre
Decorate 11(TheBlock) Block
Decorate 16(tcBlock) Location 12
MemberDecorate 17(SingleBlock) 0 Patch
MemberDecorate 17(SingleBlock) 0 Location 2
MemberDecorate 17(SingleBlock) 1 Patch
MemberDecorate 17(SingleBlock) 1 Location 3
MemberDecorate 17(SingleBlock) 2 Patch
MemberDecorate 17(SingleBlock) 2 Location 4
Decorate 17(SingleBlock) Block
Decorate 19(singleBlock) Location 2
MemberDecorate 20(bn) 0 Patch