mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 00:49:04 +02:00
anv: fix incorrect queue_family access on command buffer
The queue_family field is not an array, but a pointer. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:9866c4e32b("anv: Skip layout transition on the compute queue") Reviewed-by: Rohan Garg <rohan.garg@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26645> (cherry picked from commitaa8c88f96c)
This commit is contained in:
parent
b6b70fee71
commit
32bfb5468f
2 changed files with 2 additions and 2 deletions
|
|
@ -994,7 +994,7 @@
|
|||
"description": "anv: fix incorrect queue_family access on command buffer",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "9866c4e32b50c6682d33f248ddb5c80a06040152",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -915,7 +915,7 @@ transition_color_buffer(struct anv_cmd_buffer *cmd_buffer,
|
|||
dst_queue_family != VK_QUEUE_FAMILY_IGNORED &&
|
||||
src_queue_family != dst_queue_family) {
|
||||
enum intel_engine_class src_engine =
|
||||
cmd_buffer->queue_family[src_queue_family].engine_class;
|
||||
cmd_buffer->queue_family->engine_class;
|
||||
if (src_engine != INTEL_ENGINE_CLASS_RENDER)
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue