anv: fix queue check in anv_blorp_execute_on_companion on xe3

Fixes:
   dEQP-VK.api.copy_and_blit.dedicated_allocation.resolve_image.whole_copy_before_resolving_transfer.2_bit

Otherwise we attempt to use blorp and hit various asserts later in:

- blorp_copy_supports_blitter
- blorp_xy_block_copy_blt

Fixes: 61287b00f3 ("anv: Stop using RCS companion for MSAA copy/clear on Xe3+")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39346>
This commit is contained in:
Tapani Pälli 2026-01-16 13:16:38 +02:00 committed by Marge Bot
parent ffb5d5d224
commit ab9d3528dc

View file

@ -595,7 +595,7 @@ anv_blorp_execute_on_companion(struct anv_cmd_buffer *cmd_buffer,
if (devinfo->ver < 30)
return true;
/* Even on Xe3, no support for MSAA on BCS. */
if (anv_cmd_buffer_is_compute_queue(cmd_buffer))
if (anv_cmd_buffer_is_blitter_queue(cmd_buffer))
return true;
}