projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b03938
)
venus: fix a cmd builder render_pass state leak across reset
author
Yiwei Zhang
<zzyiwei@chromium.org>
Thu, 6 Jul 2023 22:55:46 +0000
(15:55 -0700)
committer
Marge Bot
<emma+marge@anholt.net>
Sat, 22 Jul 2023 01:49:42 +0000
(
01:49
+0000)
Cc: mesa-stable
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24103>
src/virtio/vulkan/vn_command_buffer.c
patch
|
blob
|
history
diff --git
a/src/virtio/vulkan/vn_command_buffer.c
b/src/virtio/vulkan/vn_command_buffer.c
index
f29c916
..
fefa844
100644
(file)
--- a/
src/virtio/vulkan/vn_command_buffer.c
+++ b/
src/virtio/vulkan/vn_command_buffer.c
@@
-751,6
+751,8
@@
static void
vn_cmd_reset(struct vn_command_buffer *cmd)
{
vn_cs_encoder_reset(&cmd->cs);
+
+ cmd->builder.render_pass = NULL;
if (cmd->builder.present_src_images) {
vk_free(&cmd->pool->allocator, cmd->builder.present_src_images);
cmd->builder.present_src_images = NULL;