diff options
author | Paul Berry <[email protected]> | 2014-01-10 13:00:51 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2014-09-01 19:38:27 -0700 |
commit | 88e3d404dad009d8cff5124cf8acee7daeaceb64 (patch) | |
tree | 73b0ebeeefb8851e2810f123e04b28c805f05a63 /src/mesa/drivers/dri/i965/brw_gs.c | |
parent | 94a909ec2df779bfdac6f42a25077b427b3873ea (diff) |
i965: Create a macro for setting a dirty bit.
This will make it easier to extend dirty bit handling to support
compute shaders.
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_gs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c index fbd728f67c3..c722f48f8c2 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -230,7 +230,7 @@ brw_upload_ff_gs_prog(struct brw_context *brw) populate_key(brw, &key); if (brw->ff_gs.prog_active != key.need_gs_prog) { - brw->state.dirty.cache |= CACHE_NEW_FF_GS_PROG; + SET_DIRTY_BIT(cache, CACHE_NEW_FF_GS_PROG); brw->ff_gs.prog_active = key.need_gs_prog; } |