summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_surface_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
index d35dee0e470..ef46dd78b9e 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -919,7 +919,7 @@ brw_upload_abo_surfaces(struct brw_context *brw,
&surf_offsets[i], true);
}
- if (prog->NumUniformBlocks)
+ if (prog->NumAtomicBuffers)
brw->state.dirty.brw |= BRW_NEW_SURFACES;
}