summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-05-06 12:57:23 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-05-14 16:11:37 -0700
commitc05bc5b7cc8e9bbfcefc97cbb9159b848157cf4c (patch)
tree33b8bf5b30aca732486921ca18071b443a5553ff
parent2384937835c1cfbce8c6361ad0972761e17ae1a7 (diff)
FS gl_FragCoord and and gl_FrontFacing are FS ins, not outs.
-rw-r--r--builtin_variables.h4
1 files 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" },
};