From 037a901a5b201ed3c45595074f95d46b196fb511 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 17 May 2013 08:49:52 -0700 Subject: i965: Handle rasterizer discard in the clipper rather than GS on Gen6. This has more of a negative impact than the previous patch, as on Gen6 passing primitives through to the clipper means we actually have to make the GS thread write them to the URB. I don't see another good solution though, and rasterizer discard is not the most common of cases, so hopefully it won't be too terrible. v2: Add a perf_debug; resolve rebase conflicts on the brw dirty flags; remove the rasterizer_discard field from brw_gs_prog_key. Signed-off-by: Kenneth Graunke Reviewed-by: Eric Anholt [v1] Reviewed-by: Paul Berry --- src/mesa/drivers/dri/i965/brw_gs.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965/brw_gs.h') diff --git a/src/mesa/drivers/dri/i965/brw_gs.h b/src/mesa/drivers/dri/i965/brw_gs.h index f10d8e589ad..9a901d55cc0 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.h +++ b/src/mesa/drivers/dri/i965/brw_gs.h @@ -49,7 +49,6 @@ struct brw_gs_prog_key { GLuint pv_first:1; GLuint need_gs_prog:1; - GLuint rasterizer_discard:1; /** * Number of varyings that are output to transform feedback. -- cgit v1.2.3