radeonsi: if there's just const buffer 0, set it in place of CONST/SSBO pointer
[mesa.git] / src / gallium / drivers / radeonsi / si_state.h
index eb1901b5a9e5fccc82ca9f0e6fc425cb05f9b42a..7eb0aa3c925aecf07836a7c7f650300c5c83b429 100644 (file)
@@ -279,6 +279,9 @@ struct si_descriptors {
        ubyte shader_userdata_offset;
        /* The size of one descriptor. */
        ubyte element_dw_size;
+       /* If there is only one slot enabled, bind it directly instead of
+        * uploading descriptors. -1 if disabled. */
+       signed char slot_index_to_bind_directly;
 };
 
 struct si_buffer_resources {