aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_surface_state.c1
1 files changed, 1 insertions, 0 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 a0984791614..8175fbf0db4 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -647,6 +647,7 @@ brw_emit_buffer_surface_state(struct brw_context *brw,
reloc_flags),
.size_B = buffer_size,
.format = surface_format,
+ .swizzle = ISL_SWIZZLE_IDENTITY,
.stride_B = pitch,
.mocs = brw_get_bo_mocs(devinfo, bo));
}