mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 17:20:21 +01:00
blorp: Update programming for XY_FAST_COLOR_BLT on xe2
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Rohan Garg <rohan.garg@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29264>
This commit is contained in:
parent
7605456a9b
commit
92fa87f5bd
1 changed files with 4 additions and 2 deletions
|
|
@ -2135,12 +2135,14 @@ blorp_xy_fast_color_blit(struct blorp_batch *batch,
|
|||
params->dst.addr.local_hint ? XY_MEM_LOCAL : XY_MEM_SYSTEM;
|
||||
|
||||
if (params->dst.aux_usage != ISL_AUX_USAGE_NONE) {
|
||||
#if GFX_VERx10 == 125
|
||||
blt.DestinationAuxiliarySurfaceMode = xy_aux_mode(¶ms->dst);
|
||||
blt.DestinationCompressionEnable = true;
|
||||
blt.DestinationCompressionFormat =
|
||||
isl_get_render_compression_format(dst_surf->format);
|
||||
blt.DestinationClearValueEnable = !!params->dst.clear_color_addr.buffer;
|
||||
blt.DestinationClearAddress = params->dst.clear_color_addr;
|
||||
#endif
|
||||
blt.DestinationCompressionFormat =
|
||||
isl_get_render_compression_format(dst_surf->format);
|
||||
}
|
||||
|
||||
blt.DestinationMOCS = params->dst.addr.mocs;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue