3 uniform isamplerBuffer sbuf;
\r
5 layout(std140) uniform blockName {
\r
11 int id = gl_InstanceID;
\r
13 id += texelFetch(sbuf, 8).w;
\r
14 gl_ClipVertex; // could be ERROR, but compiling under compatibility profile
\r
15 gl_Color; // could be ERROR, but compiling under compatibility profile
\r
16 gl_LightSource[0]; // could be ERROR, but compiling under compatibility profile
\r
18 gl_TexCoord; // could be ERROR, but compiling under compatibility profile
\r
19 gl_FogFragCoord; // could be ERROR, but compiling under compatibility profile
\r
20 gl_FrontColor; // could be ERROR, but compiling under compatibility profile
\r
23 out vec4 gl_Position; // ERROR
\r
25 layout(location = 9) in vec4 locBad; // ERROR
\r
27 #extension GL_ARB_explicit_attrib_location : enable
\r
29 layout(location = 9) in vec4 loc;
\r
31 #extension GL_ARB_separate_shader_objects : enable
\r
33 out vec4 gl_Position;
\r
34 in vec4 gl_Position; // ERROR
\r
35 out vec3 gl_Position; // ERROR
\r
37 out float gl_PointSize;
\r
38 out vec4 gl_ClipVertex;
\r
39 out float gl_FogFragCoord;
\r
41 uniform sampler2DRect s2dr;
\r
42 uniform sampler2DRectShadow s2drs;
\r
50 vec4 v = texelFetch(s2dr, itloc2);
\r
51 v += texelFetch(s2dr, itloc2, 0.2); // ERROR, no lod
\r
52 v += texture(s2dr, tloc2);
\r
53 v += texture(s2dr, tloc2, 0.3); // ERROR, no bias
\r
54 v += texture(s2drs, tloc3);
\r
55 v += textureProj(s2dr, tloc3);
\r
56 v += textureProj(s2dr, tloc4);
\r
57 v += textureProjGradOffset(s2dr, tloc4, ivec2(0.0), ivec2(0.0), ivec2(1,2));
\r
58 v += textureProjGradOffset(s2drs, tloc4, ivec2(0.0), ivec2(0.0), ivec2(1,2));
\r
63 gl_DeviceIndex; // ERROR, no extension
64 gl_ViewIndex; // ERROR, no extension
67 #ifdef GL_EXT_device_group
68 #extension GL_EXT_device_group : enable
71 #ifdef GL_EXT_multiview
72 #extension GL_EXT_multiview : enable