From: Marek Olšák Date: Sun, 29 Apr 2012 19:32:52 +0000 (+0200) Subject: st/vega: use cso_draw_arrays X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0279d15c990d831c7cc4e76cbe7caeba1347b689;p=mesa.git st/vega: use cso_draw_arrays --- 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); } }