diff options
author | Marek Olšák <[email protected]> | 2012-04-29 21:32:52 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-04-30 01:18:49 +0200 |
commit | 0279d15c990d831c7cc4e76cbe7caeba1347b689 (patch) | |
tree | 776bc50149c6c37b021a507764c80b609024decf /src | |
parent | 46fe17930ec71be3489fbb844de2bf16d877437e (diff) |
st/vega: use cso_draw_arrays
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/vega/renderer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/vega/renderer.c b/src/gallium/state_trackers/vega/renderer.c index bafe55257f6..4c20b1634c4 100644 --- a/src/gallium/state_trackers/vega/renderer.c +++ b/src/gallium/state_trackers/vega/renderer.c @@ -1054,7 +1054,7 @@ void renderer_polygon_stencil(struct renderer *renderer, cso_set_vertex_buffers(renderer->cso, 1, vbuf); if (!renderer->u.polygon_stencil.manual_two_sides) { - util_draw_arrays(renderer->pipe, mode, start, count); + cso_draw_arrays(renderer->cso, mode, start, count); } else { struct pipe_rasterizer_state raster; @@ -1069,7 +1069,7 @@ void renderer_polygon_stencil(struct renderer *renderer, cso_set_rasterizer(renderer->cso, &raster); cso_set_depth_stencil_alpha(renderer->cso, &dsa); - util_draw_arrays(renderer->pipe, mode, start, count); + cso_draw_arrays(renderer->cso, mode, start, count); /* back */ raster.cull_face = PIPE_FACE_FRONT; @@ -1077,7 +1077,7 @@ void renderer_polygon_stencil(struct renderer *renderer, cso_set_rasterizer(renderer->cso, &raster); cso_set_depth_stencil_alpha(renderer->cso, &dsa); - util_draw_arrays(renderer->pipe, mode, start, count); + cso_draw_arrays(renderer->cso, mode, start, count); } } |