perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / glsl-1.10 / execution / glsl-fs-multiple-builtins.shader_test
blob8dbf650f3b86586e7d02bc10bcf0035c05be4c10
1 [require]
2 GLSL >= 1.10
4 [fragment shader]
5 /* Test for FDO bug 99154. builtin_builder::binop creates variables
6  * named x and y. Because of a bug these variables had mode ir_var_auto
7  * instead of ir_var_temporary. In this case, the variable names can
8  * collide when the function is inlined later on.
9  * Linking will fail in this test if this is the case.
10  */
11 uniform float t;
12 uniform vec3 v1;
13 uniform vec3 v2;
14 float tc = clamp(t, 1.0, 2.0);
15 float d = dot(v1, v2);
17 void main() {
20 [test]
21 link success