diff options
author | Paul Berry <stereotype441@gmail.com> | 2014-01-10 13:00:51 -0800 |
---|---|---|
committer | Jordan Justen <jordan.l.justen@intel.com> | 2014-09-01 19:38:27 -0700 |
commit | 88e3d404dad009d8cff5124cf8acee7daeaceb64 (patch) | |
tree | 73b0ebeeefb8851e2810f123e04b28c805f05a63 /src/mesa/drivers/dri/i965/brw_interpolation_map.c | |
parent | 94a909ec2df779bfdac6f42a25077b427b3873ea (diff) | |
download | external_mesa3d-88e3d404dad009d8cff5124cf8acee7daeaceb64.zip external_mesa3d-88e3d404dad009d8cff5124cf8acee7daeaceb64.tar.gz external_mesa3d-88e3d404dad009d8cff5124cf8acee7daeaceb64.tar.bz2 |
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 <jordan.l.justen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_interpolation_map.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_interpolation_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_interpolation_map.c b/src/mesa/drivers/dri/i965/brw_interpolation_map.c index e700108..ef9cf15 100644 --- a/src/mesa/drivers/dri/i965/brw_interpolation_map.c +++ b/src/mesa/drivers/dri/i965/brw_interpolation_map.c @@ -44,7 +44,7 @@ brw_setup_vue_interpolation(struct brw_context *brw) memset(&brw->interpolation_mode, INTERP_QUALIFIER_NONE, sizeof(brw->interpolation_mode)); - brw->state.dirty.brw |= BRW_NEW_INTERPOLATION_MAP; + SET_DIRTY_BIT(brw, BRW_NEW_INTERPOLATION_MAP); if (!fprog) return; |