[Mesa-dev] [PATCH 3/3] i965/nir: Don't support gl_FrontFacing as an input variable
Jason Ekstrand
jason at jlekstrand.net
Sat Feb 14 12:51:04 PST 2015
---
src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 3 ---
1 file changed, 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 28a5f64..119cc84 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,
--
2.2.2
More information about the mesa-dev
mailing list