radv: add radv_dump_pipeline_state() helper
[mesa.git] / src / amd / vulkan / radv_descriptor_set.h
index a90eb5c307634348f46be213a1d632f358375b36..d8431241fd917c11420864e72f30f77a152b1759 100644 (file)
@@ -38,10 +38,9 @@ struct radv_descriptor_set_binding_layout {
    uint32_t buffer_offset;
    uint16_t dynamic_offset_offset;
 
+   uint16_t dynamic_offset_count;
    /* redundant with the type, each for a single array element */
    uint32_t size;
-   uint32_t buffer_count;
-   uint16_t dynamic_offset_count;
 
    /* Offset in the radv_descriptor_set_layout of the immutable samplers, or 0
     * if there are no immutable samplers. */
@@ -69,6 +68,9 @@ struct radv_descriptor_set_layout {
    /* Number of dynamic offsets used by this descriptor set */
    uint16_t dynamic_offset_count;
 
+   bool has_immutable_samplers;
+   bool has_variable_descriptors;
+
    /* Bindings in this descriptor set */
    struct radv_descriptor_set_binding_layout binding[0];
 };