radv: add few helpers to deal with pipeline layout
With VK_EXT_graphics_pipeline_library, we will have to support independent sets and also to merge sets from different libraries. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15849>
This commit is contained in:

committed by
Marge Bot

parent
c338bd2957
commit
619e6d44eb
@@ -134,4 +134,13 @@ radv_immutable_ycbcr_samplers(const struct radv_descriptor_set_layout *set, unsi
|
||||
return (const struct radv_sampler_ycbcr_conversion_state *)((const char *)set +
|
||||
offsets[binding_index]);
|
||||
}
|
||||
|
||||
struct radv_device;
|
||||
|
||||
void radv_pipeline_layout_init(struct radv_device *device, struct radv_pipeline_layout *layout);
|
||||
void radv_pipeline_layout_add_set(struct radv_pipeline_layout *layout, uint32_t set_idx,
|
||||
struct radv_descriptor_set_layout *set_layout);
|
||||
void radv_pipeline_layout_hash(struct radv_pipeline_layout *layout);
|
||||
void radv_pipeline_layout_finish(struct radv_device *device, struct radv_pipeline_layout *layout);
|
||||
|
||||
#endif /* RADV_DESCRIPTOR_SET_H */
|
||||
|
Reference in New Issue
Block a user