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:
fbf4c6e
)
venus: check against the Vulkan type rather than type index.
author
Dawn Han
<dawnhan@google.com>
Wed, 30 Nov 2022 19:02:40 +0000
(19:02 +0000)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 6 Dec 2022 19:50:53 +0000
(19:50 +0000)
Signed-off-by: Dawn Han <dawnhan@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20064>
src/virtio/vulkan/vn_descriptor_set.c
patch
|
blob
|
history
diff --git
a/src/virtio/vulkan/vn_descriptor_set.c
b/src/virtio/vulkan/vn_descriptor_set.c
index
82f3fbf
..
f9fd868
100644
(file)
--- a/
src/virtio/vulkan/vn_descriptor_set.c
+++ b/
src/virtio/vulkan/vn_descriptor_set.c
@@
-341,7
+341,7
@@
vn_CreateDescriptorPool(VkDevice device,
assert(type_index < VN_NUM_DESCRIPTOR_TYPES);
- if (
type_index == VN
_DESCRIPTOR_TYPE_MUTABLE_EXT) {
+ if (
pool_size->type == VK
_DESCRIPTOR_TYPE_MUTABLE_EXT) {
struct vn_descriptor_pool_state_mutable *mutable_state = NULL;
BITSET_DECLARE(mutable_types, VN_NUM_DESCRIPTOR_TYPES);
if (!mutable_descriptor_info ||