radv: Do not access set layout during vkCmdBindDescriptorSets.
The spec says: " VkDescriptorSetLayout objects may be accessed by commands that operate on descriptor sets allocated using that layout " So our behavior is valid here, but this is a temporary workaround for an issue with Baldur's Gate 3. CC: mesa-stable Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3607 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7207>
This commit is contained in:

committed by
Marge Bot

parent
29999e6b9d
commit
eb104e949e
@@ -89,7 +89,9 @@ struct radv_pipeline_layout {
|
||||
struct {
|
||||
struct radv_descriptor_set_layout *layout;
|
||||
uint32_t size;
|
||||
uint32_t dynamic_offset_start;
|
||||
uint16_t dynamic_offset_start;
|
||||
uint16_t dynamic_offset_count;
|
||||
VkShaderStageFlags dynamic_offset_stages;
|
||||
} set[MAX_SETS];
|
||||
|
||||
uint32_t num_sets;
|
||||
|
Reference in New Issue
Block a user