diff options
author | Roland Scheidegger <[email protected]> | 2010-03-19 16:29:22 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-03-19 16:29:22 +0100 |
commit | e5f0384ad06359aa1b9dc1b4bc6f475f7a119af2 (patch) | |
tree | fc59b9a33d8c689c8f5f5e8941fa92b38b740ad8 /src/gallium/state_trackers/vega/paint.h | |
parent | 8221a0e7f7eeff2c8201afcf4f5b46fc36dc8606 (diff) |
st/vega: fix up vega state tracker to use cso changes
use cso fragment sampler views instead of sampler textures.
since we don't really change views, try to store sampler views instead
of the textures to avoid having to recreate views most of the time.
Diffstat (limited to 'src/gallium/state_trackers/vega/paint.h')
-rw-r--r-- | src/gallium/state_trackers/vega/paint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vega/paint.h b/src/gallium/state_trackers/vega/paint.h index 999b5c167ca..9ea67c4b1e6 100644 --- a/src/gallium/state_trackers/vega/paint.h +++ b/src/gallium/state_trackers/vega/paint.h @@ -108,7 +108,7 @@ VGboolean paint_color_ramp_premultiplied(struct vg_paint *paint); VGint paint_bind_samplers(struct vg_paint *paint, struct pipe_sampler_state **samplers, - struct pipe_texture **textures); + struct pipe_sampler_view **sampler_views); VGint paint_constant_buffer_size(struct vg_paint *paint); void paint_fill_constant_buffer(struct vg_paint *paint, |