diff options
author | Eric Anholt <eric@anholt.net> | 2010-04-14 15:27:39 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-04-14 15:28:01 -0700 |
commit | 3b8d2cd77901f7ec91d1b9d1a67536aea9aedca1 (patch) | |
tree | 990e9238ed348ae58501a8cf23985e00e5bf46b7 | |
parent | a3fa3fbf7693fc76626e0504cdf315949caa4dfb (diff) |
Fix the type of gl_FogFragCoord.
-rw-r--r-- | builtin_variables.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin_variables.h b/builtin_variables.h index 902ff22e8a..6c14a4a42b 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[] = { |