aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-02-14 12:16:03 -0800
committerJason Ekstrand <[email protected]>2015-02-14 13:47:16 -0800
commit3c57a595276d0614940d70315e78de0d83bf74ac (patch)
treecafbe39f127cca4405dfc6a5e1ff88697ca3e444
parentdd110cdfd878a261ad7f2114f83f86deb35aa0fb (diff)
i965/nir: Don't support gl_FrontFacing as an input variable
Reviewed-by: Connor Abbott <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_nir.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
index 13be83ecbe1..850f132d757 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
@@ -199,9 +199,6 @@ fs_visitor::nir_setup_inputs(nir_shader *shader)
reg = *emit_fragcoord_interpolation(var->data.pixel_center_integer,
var->data.origin_upper_left);
emit_percomp(MOV(varying, reg), 0xF);
- } else if (!strcmp(var->name, "gl_FrontFacing")) {
- reg = *emit_frontfacing_interpolation();
- emit(MOV(retype(varying, BRW_REGISTER_TYPE_UD), reg));
} else {
emit_general_interpolation(varying, var->name, var->type,
(glsl_interp_qualifier) var->data.interpolation,