i965/nir: Don't support gl_FrontFacing as an input variable
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 14 Feb 2015 20:16:03 +0000 (12:16 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 14 Feb 2015 21:47:16 +0000 (13:47 -0800)
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp

index 13be83ecbe1ce302a61d81c390707019a7b1819f..850f132d757724aa597e7400a2f0b71d10765250 100644 (file)
@@ -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,