From cd512b00633a8f631ad7442c5cdccc608dd432e1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 19 May 2010 13:30:14 -0700 Subject: [PATCH] gl_Normal is a vec3 not a vec4. Fixes CorrectSwizzle1.vert. --- builtin_variables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin_variables.h b/builtin_variables.h index 661da6cf555..b405b46f071 100644 --- a/builtin_variables.h +++ b/builtin_variables.h @@ -47,7 +47,7 @@ static const builtin_variable builtin_110_deprecated_fs_variables[] = { static const builtin_variable builtin_110_deprecated_vs_variables[] = { { ir_var_in, "vec4", "gl_Vertex" }, - { ir_var_in, "vec4", "gl_Normal" }, + { ir_var_in, "vec3", "gl_Normal" }, { ir_var_in, "vec4", "gl_Color" }, { ir_var_in, "vec4", "gl_SecondaryColor" }, { ir_var_in, "vec4", "gl_MultiTexCoord0" }, -- 2.30.2