SPV: Correctly enforce 'location' presence on in/out blocks.

Blocks have this on members, not the object.
This commit is contained in:
John Kessenich
2017-05-20 12:14:13 -06:00
parent 557caf2401
commit 1d585ac8bd
3 changed files with 33 additions and 6 deletions

View File

@@ -2,7 +2,10 @@ spv.noLocation.vert
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
ERROR: spv.noLocation.vert:4: 'location' : SPIR-V requires location for user input/output
ERROR: spv.noLocation.vert:8: 'location' : SPIR-V requires location for user input/output
ERROR: 2 compilation errors. No code generated.
ERROR: spv.noLocation.vert:19: 'location' : SPIR-V requires location for user input/output
ERROR: spv.noLocation.vert:25: 'location' : SPIR-V requires location for user input/output
ERROR: spv.noLocation.vert:29: 'location' : SPIR-V requires location for user input/output
ERROR: 5 compilation errors. No code generated.
SPIR-V is not generated for failed compile or link