void cell_set_polygon_stipple( struct pipe_context *,
const struct pipe_poly_stipple * );
+void
+cell_set_sampler_texture(struct pipe_context *pipe,
+ unsigned sampler,
+ struct pipe_texture *texture);
+
void cell_set_scissor_state( struct pipe_context *,
const struct pipe_scissor_state * );
{
FREE( sampler );
}
+
+
+
+void
+cell_set_sampler_texture(struct pipe_context *pipe,
+ unsigned sampler,
+ struct pipe_texture *texture)
+{
+ struct cell_context *cell = cell_context(pipe);
+
+ cell->texture[sampler] = texture;
+
+ cell->dirty |= CELL_NEW_TEXTURE;
+}