GLSL/Vulkan: Enforce no location aliasing in vertex inputs.
This commit is contained in:
parent
5d3babdbdf
commit
0f8d43e505
3 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue