From: Eric Anholt Date: Wed, 19 May 2010 20:30:14 +0000 (-0700) Subject: gl_Normal is a vec3 not a vec4. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd512b00633a8f631ad7442c5cdccc608dd432e1;p=mesa.git gl_Normal is a vec3 not a vec4. Fixes CorrectSwizzle1.vert. --- 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" },