glsl: test loop unroll with uint overflow
[piglit.git] / tests / spec / arb_shading_language_include / execution / basic_include.shader_test
blob29f0a2649535d656d8c272fe67d333026a0eedee
1 [require]
2 GLSL >= 1.10
3 GL_ARB_shading_language_include
5 [shader include]
6 /test path/to/test_include.shader
8 struct s1 {
9   float f1;
10   vec4 v4;
13 void main()
15         vec4 scale = vec4(0.5);
16         vec4 bias = vec4(0.1);
17         s1 a;
18         a.v4 = vec4(0.25, 0.5, 0.75, 1.0);
19         a.f1 = 0.0;
20         gl_FragColor = a.v4 * scale + bias;
23 [fragment shader]
24 #extension GL_ARB_shading_language_include: enable
26 #include "/test path/to/test_include.shader"
29 [test]
30 draw rect -1 -1 2 2
31 relative probe rgba (0.5, 0.5) (0.225, 0.35, 0.475, 0.6)