SPV: Address #989: Don't add Location to built-ins when automapping.

This commit is contained in:
John Kessenich
2017-07-14 05:52:31 -06:00
parent 56d2b9904e
commit 91e69c03bd
4 changed files with 80 additions and 1 deletions

View 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;
}