SPV: Add auto location mapping of non-opaque non-block uniform variables.
Fix #1019.
This commit is contained in:
parent
8268a35504
commit
82e95a3aa5
9 changed files with 93 additions and 12 deletions
8
Test/baseResults/spv.looseUniformNoLoc.vert.out
Normal file
8
Test/baseResults/spv.looseUniformNoLoc.vert.out
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
spv.looseUniformNoLoc.vert
|
||||
ERROR: spv.looseUniformNoLoc.vert:9: 'uv' : non-opaque uniform variables need a layout(location=L)
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
|
||||
ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point
|
||||
|
||||
SPIR-V is not generated for failed compile or link
|
||||
Loading…
Add table
Add a link
Reference in a new issue