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:
committed by
Marge Bot
parent
fcb2b62bfe
commit
2aad7d2b00
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user