Stop emitting the "#version missing" warning, and hook up the existing "suppress warnings" to a command-line option (-w).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23952 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
d627502d07
commit
b0a7eb599b
9 changed files with 46 additions and 21 deletions
|
|
@ -37,3 +37,10 @@ in vec4 gl_Color;
|
|||
flat in vec4 gl_Color;
|
||||
flat in vec4 gl_Color[2]; // ERROR, array
|
||||
vec4 gl_Color; // ERROR, storage
|
||||
|
||||
#extension GL_ARB_texture_gather : warn
|
||||
|
||||
void bar()
|
||||
{
|
||||
vec4 s = textureGather(sampC, vec3(0.2));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue