FS gl_FragCoord and and gl_FrontFacing are FS ins, not outs.
authorEric Anholt <eric@anholt.net>
Thu, 6 May 2010 19:57:23 +0000 (12:57 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 14 May 2010 23:11:37 +0000 (16:11 -0700)
builtin_variables.h

index 6c14a4a42b7508ac908d113162f26265289d98d3..661da6cf5559223237495170ab2c88241ed2cc8a 100644 (file)
@@ -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" },
 };