[Mesa-dev] [PATCH 13/16] i965/gen7.5: Update surface state entries for WM UBO surface states
Abdiel Janulgue
abdiel.janulgue at linux.intel.com
Tue Oct 8 14:41:50 PDT 2013
Signed-off-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
---
src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 6 ++++++
1 file changed, 6 insertions(+)
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 d82a7cf..08c5720 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -863,6 +863,12 @@ brw_upload_wm_ubo_surfaces(struct brw_context *brw)
brw_upload_ubo_surfaces(brw, prog->_LinkedShaders[MESA_SHADER_FRAGMENT],
&brw->wm.base.surf_offset[SURF_INDEX_WM_UBO(0)]);
+
+ if (brw->has_resource_streamer) {
+ gen7_update_binding_table(brw, STAGE_FRAGMENT_SHADER,
+ SURF_INDEX_WM_UBO(0),
+ brw->wm.base.surf_offset[SURF_INDEX_WM_UBO(0)]);
+ }
}
const struct brw_tracked_state brw_wm_ubo_surfaces = {
--
1.7.9.5
More information about the mesa-dev
mailing list