diff options
author | Marek Olšák <[email protected]> | 2013-04-15 13:00:54 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-04-24 03:23:23 +0200 |
commit | 99bd76d834e0c771274f327e1efe9b089ff273d4 (patch) | |
tree | d58b554df1dc0ead07965381e5a6110d784eacf3 /src/mesa/drivers/dri/i965/brw_gs.c | |
parent | b95cbe5e800e95d888d148e20e6a4e34c8857a9e (diff) |
mesa: convert _NEW_RASTERIZER_DISCARD to a driver flag
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_gs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c index 59053d4c6c9..a432b76fa77 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -215,7 +215,7 @@ static void populate_key( struct brw_context *brw, } } /* On Gen6, GS is also used for rasterizer discard. */ - /* _NEW_RASTERIZER_DISCARD */ + /* BRW_NEW_RASTERIZER_DISCARD */ if (ctx->RasterDiscard) { key->need_gs_prog = true; key->rasterizer_discard = true; @@ -257,10 +257,10 @@ brw_upload_gs_prog(struct brw_context *brw) const struct brw_tracked_state brw_gs_prog = { .dirty = { - .mesa = (_NEW_LIGHT | - _NEW_RASTERIZER_DISCARD), + .mesa = (_NEW_LIGHT), .brw = (BRW_NEW_PRIMITIVE | - BRW_NEW_TRANSFORM_FEEDBACK), + BRW_NEW_TRANSFORM_FEEDBACK | + BRW_NEW_RASTERIZER_DISCARD), .cache = CACHE_NEW_VS_PROG }, .emit = brw_upload_gs_prog |