From: Jason Ekstrand Date: Sat, 14 Feb 2015 20:16:03 +0000 (-0800) Subject: i965/nir: Don't support gl_FrontFacing as an input variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c57a595276d0614940d70315e78de0d83bf74ac;p=mesa.git i965/nir: Don't support gl_FrontFacing as an input variable Reviewed-by: Connor Abbott Reviewed-by: Matt Turner --- 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,