SPV: Address #989: Don't add Location to built-ins when automapping.
This commit is contained in:
parent
56d2b9904e
commit
91e69c03bd
4 changed files with 80 additions and 1 deletions
13
Test/spv.noBuiltInLoc.vert
Normal file
13
Test/spv.noBuiltInLoc.vert
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 450 core
|
||||
|
||||
layout(location = 0)
|
||||
in vec4 foo;
|
||||
|
||||
layout(location = 0)
|
||||
out vec4 bar;
|
||||
|
||||
void main()
|
||||
{
|
||||
bar = foo;
|
||||
gl_Position = foo;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue