GLSL/Vulkan: Enforce no location aliasing in vertex inputs.

This commit is contained in:
John Kessenich
2018-04-12 11:37:57 -06:00
parent 5d3babdbdf
commit 0f8d43e505
3 changed files with 6 additions and 3 deletions

View File

@@ -61,3 +61,5 @@ out ban2 {
layout(binding = 3000) uniform sampler2D s3000;
layout(binding = 3001) uniform b3001 { int a; };
layout(location = 10) in vec4 in1;
layout(location = 10) in vec4 in2; // ERROR, no location aliasing