zink: pool descriptors per batch
[mesa.git] / src / gallium / drivers / zink / zink_program.h
index 3d9cafd3dbd0b3ce424f3e211a75156bdac4f505..8807f044ae3210a2ab6977ebcabbd792223d960f 100644 (file)
@@ -39,6 +39,7 @@ struct zink_gfx_program {
    struct zink_shader *stages[PIPE_SHADER_TYPES - 1]; // compute stage doesn't belong here
    VkDescriptorSetLayout dsl;
    VkPipelineLayout layout;
+   unsigned num_descriptors;
    struct hash_table *pipelines[PIPE_PRIM_TRIANGLE_FAN + 1];
    struct set *render_passes;
 };