anv: remove multiple push descriptors
VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00293 pSetLayouts must not contain more than one descriptor set layout that was created with VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR set There is only one push descriptor set with all the descriptor sets, so no need to have an array. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19050>
This commit is contained in:

committed by
Marge Bot

parent
803f438d85
commit
06d955ab21
@@ -2433,7 +2433,7 @@ anv_gfx8_9_vb_cache_range_needs_workaround(struct anv_vb_cache_range *bound,
|
||||
*/
|
||||
struct anv_cmd_pipeline_state {
|
||||
struct anv_descriptor_set *descriptors[MAX_SETS];
|
||||
struct anv_push_descriptor_set *push_descriptors[MAX_SETS];
|
||||
struct anv_push_descriptor_set *push_descriptor;
|
||||
|
||||
struct anv_push_constants push_constants;
|
||||
|
||||
|
Reference in New Issue
Block a user