From 3c57a595276d0614940d70315e78de0d83bf74ac Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sat, 14 Feb 2015 12:16:03 -0800 Subject: [PATCH] i965/nir: Don't support gl_FrontFacing as an input variable Reviewed-by: Connor Abbott Reviewed-by: Matt Turner --- 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 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, -- 2.30.2