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:
80b35fb
)
venus: allow no external memory handle when renderers lacks support
author
Yiwei Zhang
<zzyiwei@chromium.org>
Tue, 30 Aug 2022 23:20:19 +0000
(23:20 +0000)
committer
Marge Bot
<emma+marge@anholt.net>
Wed, 31 Aug 2022 03:13:39 +0000
(
03:13
+0000)
This is to make vtest happy.
Fixes:
9c5a7ffbd8a
("venus: fix external memory ext filtering")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18331>
src/virtio/vulkan/vn_device.c
patch
|
blob
|
history
diff --git
a/src/virtio/vulkan/vn_device.c
b/src/virtio/vulkan/vn_device.c
index
a837755
..
9f51f91
100644
(file)
--- a/
src/virtio/vulkan/vn_device.c
+++ b/
src/virtio/vulkan/vn_device.c
@@
-273,7
+273,7
@@
vn_device_fix_create_info(const struct vn_device *dev,
}
break;
default:
-
unreachable("unexpected external memory handle type"
);
+
assert(!physical_dev->instance->renderer->info.has_dma_buf_import
);
break;
}
}