mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 11:40:10 +01:00
gfxstream: Fix usage of encoder after release in vkResetCommandBuffer
Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:
parent
fcb2b62bfe
commit
2aad7d2b00
1 changed files with 1 additions and 1 deletions
|
|
@ -6815,7 +6815,7 @@ VkResult ResourceTracker::on_vkResetCommandBuffer(void* context, VkResult input_
|
|||
resetCommandBufferStagingInfo(commandBuffer, true /* also reset primaries */,
|
||||
true /* also clear pending descriptor sets */);
|
||||
|
||||
VkEncoder* enc = (VkEncoder*)context;
|
||||
VkEncoder* enc = ResourceTracker::getCommandBufferEncoder(commandBuffer);
|
||||
(void)input_result;
|
||||
|
||||
if (!supportsDeferredCommands()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue