- draw_texture_samplers(softpipe->draw,
- PIPE_SHADER_VERTEX,
- PIPE_MAX_VERTEX_SAMPLERS,
- (struct tgsi_sampler **)
- softpipe->tgsi.vert_samplers_list);
-
- draw_texture_samplers(softpipe->draw,
- PIPE_SHADER_GEOMETRY,
- PIPE_MAX_GEOMETRY_SAMPLERS,
- (struct tgsi_sampler **)
- softpipe->tgsi.geom_samplers_list);
-
- if (debug_get_bool_option( "SP_NO_RAST", FALSE ))
+ draw_texture_sampler(softpipe->draw,
+ PIPE_SHADER_VERTEX,
+ (struct tgsi_sampler *)
+ softpipe->tgsi.sampler[PIPE_SHADER_VERTEX]);
+
+ draw_texture_sampler(softpipe->draw,
+ PIPE_SHADER_GEOMETRY,
+ (struct tgsi_sampler *)
+ softpipe->tgsi.sampler[PIPE_SHADER_GEOMETRY]);
+
+ draw_image(softpipe->draw,
+ PIPE_SHADER_VERTEX,
+ (struct tgsi_image *)
+ softpipe->tgsi.image[PIPE_SHADER_VERTEX]);
+
+ draw_image(softpipe->draw,
+ PIPE_SHADER_GEOMETRY,
+ (struct tgsi_image *)
+ softpipe->tgsi.image[PIPE_SHADER_GEOMETRY]);
+
+ draw_buffer(softpipe->draw,
+ PIPE_SHADER_VERTEX,
+ (struct tgsi_buffer *)
+ softpipe->tgsi.buffer[PIPE_SHADER_VERTEX]);
+
+ draw_buffer(softpipe->draw,
+ PIPE_SHADER_GEOMETRY,
+ (struct tgsi_buffer *)
+ softpipe->tgsi.buffer[PIPE_SHADER_GEOMETRY]);
+
+ if (debug_get_bool_option( "SOFTPIPE_NO_RAST", FALSE ))