Previously this tried to assign vec4 to float, and would fail there rather than testing anything useful.
Signed-off-by: Chris Forbes <[email protected]> --- tests/shaders/built-in-constants.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/shaders/built-in-constants.c b/tests/shaders/built-in-constants.c index 0bfe2c1..bb6281d 100644 --- a/tests/shaders/built-in-constants.c +++ b/tests/shaders/built-in-constants.c @@ -71,7 +71,7 @@ static const char *const vertex_shader_body = static const char *const tessellation_control_shader_body = "layout(vertices = 1) out;\n" - "void main() { gl_TessLevelInner[0] = vec4(f[0]); }\n" + "void main() { gl_TessLevelInner[0] = f[0]; }\n" ; static const char *const tessellation_evaluation_shader_body = -- 2.0.4 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
