diff options
author | Kenneth Graunke <[email protected]> | 2013-05-17 08:49:52 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-05-20 13:03:18 -0700 |
commit | 037a901a5b201ed3c45595074f95d46b196fb511 (patch) | |
tree | 2d1706f1840cb6ca808b3001d7057365b8450a09 /src/mesa/drivers/dri/i965/brw_gs.h | |
parent | d1e4e9960cbdfce6078cdc377809ea76c2eb7078 (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]> [v1]
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_gs.h | 1 |
1 files changed, 0 insertions, 1 deletions
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. |