mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
turnip: Fix compiler warning about casting a nondispatchable handle.
Fixes:1c5d84fcae("turnip: hook up cmdbuffer event set/wait") Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3916> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3916> (cherry picked from commitbd53f4f56b)
This commit is contained in:
parent
5f0ae1f0b4
commit
8a9f1293b8
2 changed files with 2 additions and 2 deletions
|
|
@ -1246,7 +1246,7 @@
|
|||
"description": "turnip: Fix compiler warning about casting a nondispatchable handle.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "1c5d84fcae71b40f77891386ac53c8addee4f554"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -3935,7 +3935,7 @@ tu_CmdWaitEvents(VkCommandBuffer commandBuffer,
|
|||
/* TODO: any flush required before/after? (CP_WAIT_FOR_ME?) */
|
||||
|
||||
for (uint32_t i = 0; i < eventCount; i++) {
|
||||
const struct tu_event *event = (const struct tu_event*) pEvents[i];
|
||||
TU_FROM_HANDLE(tu_event, event, pEvents[i]);
|
||||
|
||||
tu_bo_list_add(&cmd->bo_list, &event->bo, MSM_SUBMIT_BO_READ);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue