From c05bc5b7cc8e9bbfcefc97cbb9159b848157cf4c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 6 May 2010 12:57:23 -0700 Subject: FS gl_FragCoord and and gl_FrontFacing are FS ins, not outs. --- builtin_variables.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin_variables.h b/builtin_variables.h index 6c14a4a42b..661da6cf55 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" }, }; -- cgit v1.2.3