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:
9858939
)
dzn: Fix inverted assert
author
Jesse Natalie
<jenatali@microsoft.com>
Wed, 24 May 2023 16:54:14 +0000
(09:54 -0700)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 25 May 2023 02:08:32 +0000
(
02:08
+0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23218>
src/microsoft/vulkan/dzn_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/microsoft/vulkan/dzn_cmd_buffer.c
b/src/microsoft/vulkan/dzn_cmd_buffer.c
index
9f6bbe7
..
0e14544
100644
(file)
--- a/
src/microsoft/vulkan/dzn_cmd_buffer.c
+++ b/
src/microsoft/vulkan/dzn_cmd_buffer.c
@@
-3216,7
+3216,7
@@
dzn_cmd_buffer_update_heaps(struct dzn_cmd_buffer *cmdbuf, uint32_t bindpoint)
primary_is_writable, &bdesc);
if (pipeline->sets[s].dynamic_buffer_heap_offsets[o].alt != ~0) {
- assert(
!
primary_is_writable);
+ assert(primary_is_writable);
desc_heap_offset = pipeline->sets[s].dynamic_buffer_heap_offsets[o].alt;
dzn_descriptor_heap_write_buffer_desc(device, dst_heap,
dst_heap_offset + set_heap_offset + desc_heap_offset,