From: Eric Anholt Date: Thu, 6 May 2010 19:57:23 +0000 (-0700) Subject: FS gl_FragCoord and and gl_FrontFacing are FS ins, not outs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c05bc5b7cc8e9bbfcefc97cbb9159b848157cf4c;p=mesa.git FS gl_FragCoord and and gl_FrontFacing are FS ins, not outs. --- diff --git a/builtin_variables.h b/builtin_variables.h index 6c14a4a42b7..661da6cf555 100644 --- a/builtin_variables.h +++ b/builtin_variables.h @@ -33,8 +33,8 @@ static const builtin_variable builtin_core_vs_variables[] = { }; static const builtin_variable builtin_core_fs_variables[] = { - { ir_var_out, "vec4", "gl_FragCoord" }, - { ir_var_out, "bool", "gl_FrontFacing" }, + { ir_var_in, "vec4", "gl_FragCoord" }, + { ir_var_in, "bool", "gl_FrontFacing" }, { ir_var_out, "vec4", "gl_FragColor" }, { ir_var_out, "float", "gl_FragDepth" }, };