mesa/src/panfrost
Boris Brezillon b18bfed2c5 panvk: Fix access to unitialized panvk_pipeline_layout::num_sets field
Commit 73eecffabd ("panvk: Use the vk_pipeline_layout base struct")
reworked the panvk logic to use vk_pipeline_layout, which contains the
number of descriptor set layout referenced by a pipeline layout, thus
deprecating panvk_pipeline_layout::num_sets.

Make panvk_fill_non_vs_attribs() use vk_pipeline_layout::set_count
instead of panvk_pipeline_layout::num_sets and kill the latter so we
can't introduce new users.

Fixes: 73eecffabd ("panvk: Use the vk_pipeline_layout base struct")
Cc: mesa-stable
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Constantine Shablya <constantine.shablya@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27107>
2024-01-17 11:42:25 +00:00
..
ci panvk: Fix access to unitialized panvk_pipeline_layout::num_sets field 2024-01-17 11:42:25 +00:00
compiler treewide: Replace the include of nir_types.h with glsl_types.h 2023-12-30 15:08:11 +00:00
drm-shim panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
ds perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
include panfrost: prepare pan_image_view for multiplanar formats 2023-08-07 19:35:12 +00:00
lib panfrost: Fix format tables for v4 and v5 2024-01-17 11:07:48 +00:00
midgard pan/mdg: Use nir_builder for load_sampler_lod_parameters_pan 2024-01-08 07:23:40 +00:00
perf panfrost: Avoid direct accesses to some panfrost_device fields 2023-12-15 11:33:26 +00:00
shared meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +00:00
tools pan/decode: handle more than one panfrost_device 2023-08-14 22:41:10 +00:00
util treewide: Drop nir_ssa_for_src users 2023-09-18 10:25:17 -04:00
vulkan panvk: Fix access to unitialized panvk_pipeline_layout::num_sets field 2024-01-17 11:42:25 +00:00
.clang-format clang-format: Disable formatting by default 2023-08-13 16:48:49 +02:00
meson.build panfrost: drop no-longer-needed libglsl 2023-02-10 14:09:37 +00:00