mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 23:50:11 +01:00
anv: fix companion usage for emulated image
We need to return true if we need the companion batch. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:e60416b4e4("anv: use companion batch for operations with HIZ/STC_CCS destination") Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Lucas Fryzek <lfryzek@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37797> (cherry picked from commit196c7903b9)
This commit is contained in:
parent
d3c8674705
commit
37263cfbd6
2 changed files with 2 additions and 2 deletions
|
|
@ -2864,7 +2864,7 @@
|
|||
"description": "anv: fix companion usage for emulated image",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "e60416b4e427b120d1b77cbd15f659dc36daf97f",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -634,7 +634,7 @@ anv_blorp_execute_on_companion(struct anv_cmd_buffer *cmd_buffer,
|
|||
*/
|
||||
if ((src_image && is_image_emulated(src_image)) ||
|
||||
(dst_image && is_image_emulated(dst_image)))
|
||||
return false;
|
||||
return true;
|
||||
|
||||
/* Wa_22019225126: The compression pairing bit on blitter engine is not
|
||||
* programmed correctly for depth/stencil resources. Fallback to RCS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue