From: Eric Anholt Date: Wed, 14 Apr 2010 22:27:39 +0000 (-0700) Subject: Fix the type of gl_FogFragCoord. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b8d2cd77901f7ec91d1b9d1a67536aea9aedca1;p=mesa.git Fix the type of gl_FogFragCoord. --- diff --git a/builtin_variables.h b/builtin_variables.h index 902ff22e8ae..6c14a4a42b7 100644 --- a/builtin_variables.h +++ b/builtin_variables.h @@ -42,7 +42,7 @@ static const builtin_variable builtin_core_fs_variables[] = { static const builtin_variable builtin_110_deprecated_fs_variables[] = { { ir_var_in, "vec4", "gl_Color" }, { ir_var_in, "vec4", "gl_SecondaryColor" }, - { ir_var_in, "vec4", "gl_FogFragCoord" }, + { ir_var_in, "float", "gl_FogFragCoord" }, }; static const builtin_variable builtin_110_deprecated_vs_variables[] = { @@ -64,7 +64,7 @@ static const builtin_variable builtin_110_deprecated_vs_variables[] = { { ir_var_out, "vec4", "gl_BackColor" }, { ir_var_out, "vec4", "gl_FrontSecondaryColor" }, { ir_var_out, "vec4", "gl_BackSecondaryColor" }, - { ir_var_out, "vec4", "gl_FogFragCoord" }, + { ir_var_out, "float", "gl_FogFragCoord" }, }; static const builtin_variable builtin_130_vs_variables[] = {