fix the spelling in whole piglit
[piglit.git] / tests / spec / arb_explicit_uniform_location / linker / set-location-to-sampler.shader_test
blob965f809cd5d3a09223675ce4a10d945f1c86b378
2 # Tests that an opaque type (sampler) gets a location successfully
4 [require]
5 GLSL >= 1.30
6 GL_ARB_explicit_attrib_location
7 GL_ARB_explicit_uniform_location
9 [vertex shader passthrough]
11 [fragment shader]
12 #version 130
13 #extension GL_ARB_explicit_attrib_location: require
14 #extension GL_ARB_explicit_uniform_location: require
15 layout(location = 0) uniform sampler2D tex;
16 out vec4 color;
17 void main()
19         color = texture(tex, vec2(0.0, 0.0));
22 [test]
23 link success