Detect and give error on second occurrence of #version.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24347 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#version 420 core
|
||||
|
||||
#version 420 core
|
||||
varying vec2 v2; // ERROR, varying reserved
|
||||
in vec4 bad[10];
|
||||
highp in vec4 badorder;
|
||||
|
||||
Reference in New Issue
Block a user