SPV: Give error on not assigning locations to I/O.
Also, provides an option to auto-assign locations. Existing tests use this option, to avoid the error message, however, it is not fully implemented yet.
This commit is contained in:
parent
24e895b4a3
commit
71facdf435
14 changed files with 97 additions and 10 deletions
8
Test/baseResults/spv.noLocation.vert.out
Normal file
8
Test/baseResults/spv.noLocation.vert.out
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
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.
|
||||
|
||||
|
||||
SPIR-V is not generated for failed compile or link
|
||||
Loading…
Add table
Add a link
Reference in a new issue