diff options
author | Brian Paul <[email protected]> | 2018-01-31 16:10:39 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-02-01 12:17:59 -0700 |
commit | c7442895526a8c3e41eaf985827c66907d9e8ad6 (patch) | |
tree | 4a41f80db2b54932224822d1a1e7d25c9831c2a6 /src | |
parent | 06858c73485951c931bfec3a74d0117d26116905 (diff) |
svga: remove unused min/max_index params to draw_vgpu10()
Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/svga_draw.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/svga/svga_draw.c b/src/gallium/drivers/svga/svga_draw.c index 5771903955f..649bc228c07 100644 --- a/src/gallium/drivers/svga/svga_draw.c +++ b/src/gallium/drivers/svga/svga_draw.c @@ -511,8 +511,7 @@ static enum pipe_error draw_vgpu10(struct svga_hwtnl *hwtnl, const SVGA3dPrimitiveRange *range, unsigned vcount, - unsigned min_index, - unsigned max_index, struct pipe_resource *ib, + struct pipe_resource *ib, unsigned start_instance, unsigned instance_count) { struct svga_context *svga = hwtnl->svga; @@ -1024,11 +1023,11 @@ svga_hwtnl_prim(struct svga_hwtnl *hwtnl, if (svga_have_vgpu10(hwtnl->svga)) { /* draw immediately */ - ret = draw_vgpu10(hwtnl, range, vcount, min_index, max_index, ib, + ret = draw_vgpu10(hwtnl, range, vcount, ib, start_instance, instance_count); if (ret != PIPE_OK) { svga_context_flush(hwtnl->svga, NULL); - ret = draw_vgpu10(hwtnl, range, vcount, min_index, max_index, ib, + ret = draw_vgpu10(hwtnl, range, vcount, ib, start_instance, instance_count); assert(ret == PIPE_OK); } |