Tie "location = " to the right stages/versions/extensions. Also add "#define extension 1" extension support and instructions.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23633 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
bf688510a8
commit
c78a126ba6
14 changed files with 134 additions and 36 deletions
8
Test/430.vert
Normal file
8
Test/430.vert
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#version 430 core
|
||||
|
||||
layout(location = 3) vec4 v4; // ERROR
|
||||
|
||||
layout(location = 3) uniform vec4 uv4;
|
||||
|
||||
layout(location = 2) in inb1 { vec4 v; } b1; // ERROR
|
||||
layout(location = 2) out outb1 { vec4 v; } b2; // ERROR
|
||||
Loading…
Add table
Add a link
Reference in a new issue