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:
04fa6c7
)
dzn: Fix bindless descriptor sets with multiple dynamic buffers that need custom...
author
Jesse Natalie
<jenatali@microsoft.com>
Wed, 5 Apr 2023 16:53:47 +0000
(09:53 -0700)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 6 Apr 2023 22:08:28 +0000
(22:08 +0000)
Fixes:
5d2b4ee4
("dzn: Allocate descriptor sets in buffers for bindless mode")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22225>
src/microsoft/vulkan/dzn_descriptor_set.c
patch
|
blob
|
history
diff --git
a/src/microsoft/vulkan/dzn_descriptor_set.c
b/src/microsoft/vulkan/dzn_descriptor_set.c
index
7995ccf
..
c385fc4
100644
(file)
--- a/
src/microsoft/vulkan/dzn_descriptor_set.c
+++ b/
src/microsoft/vulkan/dzn_descriptor_set.c
@@
-2143,7
+2143,7
@@
dzn_descriptor_set_write(struct dzn_device *device,
pDescriptorWrite->descriptorType,
dzn_buffer_from_handle(binfo->buffer),
binfo->range, binfo->offset,
- &set->buffer_heap_slots[
set->layout->bindings[ptr.binding].buffer_idx
]
+ &set->buffer_heap_slots[
dzn_descriptor_set_ptr_get_buffer_idx(set->layout, &ptr)
]
};
if (desc.buffer)