anv: fixup descriptor copies
I did not properly understood that we cannot access the views written
to the descriptor sets because they might have been destroyed after
the write operation and the copy operation is allowed to copy what is
invalid data. The shader just can't access it.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 03e1e19246
("anv: Refactor descriptor copy")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20222>
This commit is contained in:

committed by
Marge Bot

parent
79cb465526
commit
a0991c7c79
@@ -1900,7 +1900,7 @@ struct anv_descriptor_pool {
|
||||
|
||||
size_t
|
||||
anv_descriptor_set_layout_size(const struct anv_descriptor_set_layout *layout,
|
||||
uint32_t var_desc_count);
|
||||
bool host_only, uint32_t var_desc_count);
|
||||
|
||||
uint32_t
|
||||
anv_descriptor_set_layout_descriptor_buffer_size(const struct anv_descriptor_set_layout *set_layout,
|
||||
|
Reference in New Issue
Block a user