draw: add vs/gs images support
[mesa.git] / src / gallium / auxiliary / draw / draw_private.h
index 0b236912bef2594c5eea7d6581bf6366c61c18c9..9be5f94db806027117a27bda1a88da4276c0fb9e 100644 (file)
@@ -342,6 +342,9 @@ struct draw_context
    const struct pipe_sampler_state *samplers[PIPE_SHADER_TYPES][PIPE_MAX_SAMPLERS];
    unsigned num_samplers[PIPE_SHADER_TYPES];
 
+   struct pipe_image_view *images[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_IMAGES];
+   unsigned num_images[PIPE_SHADER_TYPES];
+
    struct pipe_query_data_pipeline_statistics statistics;
    boolean collect_statistics;