Commit 24021a2d by Ben Clayton Committed by Ben Clayton

vkCmdBlitImage: Make a copy of the VkImageBlit structure

Don't hold a pointer to the structure - there's no guarantees it'll still be vaild by command buffer execution time. Fixes flakiness of the dEQP-VK.memory.pipeline_barrier.transfer_dst_storage_image.* tests Bug: b/124729778 Change-Id: I747512b1a34c5d4d7dff227b15b08c69d07b298d Reviewed-on: https://swiftshader-review.googlesource.com/c/25008 Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com>
parent 6d74ab85
......@@ -357,7 +357,7 @@ struct BlitImage : public CommandBuffer::Command
private:
VkImage srcImage;
VkImage dstImage;
const VkImageBlit& region;
VkImageBlit region;
VkFilter filter;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment