Previously this tried to assign vec4 to float, and would fail there rather than testing anything useful.
Signed-off-by: Chris Forbes <chr...@ijw.co.nz> --- 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 5d4bc69..869908c 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.1.0 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit