mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
i965/gen8: Use the qpitch from the aux_mt for AUX_QPITCH
Reviewed-by: Chad Versace <chad.versace@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Cc: "11.1 11.2 12.0" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
620f81d2ed
commit
1436238b75
1 changed files with 2 additions and 2 deletions
|
|
@ -325,7 +325,7 @@ gen8_emit_texture_surface_state(struct brw_context *brw,
|
|||
assert(aux_mt->tiling == I915_TILING_Y);
|
||||
intel_get_tile_dims(aux_mt->tiling, aux_mt->tr_mode,
|
||||
aux_mt->cpp, &tile_w, &tile_h);
|
||||
surf[6] = SET_FIELD(mt->qpitch / 4, GEN8_SURFACE_AUX_QPITCH) |
|
||||
surf[6] = SET_FIELD(aux_mt->qpitch / 4, GEN8_SURFACE_AUX_QPITCH) |
|
||||
SET_FIELD((aux_mt->pitch / tile_w) - 1,
|
||||
GEN8_SURFACE_AUX_PITCH) |
|
||||
aux_mode;
|
||||
|
|
@ -546,7 +546,7 @@ gen8_update_renderbuffer_surface(struct brw_context *brw,
|
|||
assert(aux_mt->tiling == I915_TILING_Y);
|
||||
intel_get_tile_dims(aux_mt->tiling, aux_mt->tr_mode,
|
||||
aux_mt->cpp, &tile_w, &tile_h);
|
||||
surf[6] = SET_FIELD(mt->qpitch / 4, GEN8_SURFACE_AUX_QPITCH) |
|
||||
surf[6] = SET_FIELD(aux_mt->qpitch / 4, GEN8_SURFACE_AUX_QPITCH) |
|
||||
SET_FIELD((aux_mt->pitch / tile_w) - 1,
|
||||
GEN8_SURFACE_AUX_PITCH) |
|
||||
aux_mode;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue