mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
anv: avoid companion usage on RCS
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: e98759c7f4 ("anv: Use RCS engine for copying stencil resource for gfx125")
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31847>
This commit is contained in:
parent
f83c2fcc98
commit
393ca64716
1 changed files with 2 additions and 2 deletions
|
|
@ -535,9 +535,9 @@ anv_blorp_execute_on_companion(struct anv_cmd_buffer *cmd_buffer,
|
|||
* for stencil resources. Fallback to RCS engine for performing a copy to
|
||||
* workaround the issue.
|
||||
*/
|
||||
if ((devinfo->verx10 == 125) &&
|
||||
if (anv_cmd_buffer_is_blitter_queue(cmd_buffer) &&
|
||||
(devinfo->verx10 == 125) &&
|
||||
(dst_image->vk.aspects & VK_IMAGE_ASPECT_STENCIL_BIT)) {
|
||||
|
||||
const uint32_t plane =
|
||||
anv_image_aspect_to_plane(dst_image, VK_IMAGE_ASPECT_STENCIL_BIT);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue