SPV: Address #989: Don't add Location to built-ins when automapping.
This commit is contained in:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user