gallium: fold u_trim_pipe_prim call from st/mesa to drivers
authorMarek Olšák <marek.olsak@amd.com>
Sun, 9 Apr 2017 13:57:45 +0000 (15:57 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 20 Apr 2017 18:11:35 +0000 (20:11 +0200)
commit707d2e8b3e53c761720adaca7137b242dff344b6
tree663f4c9c5b3c3efcc0e815fe56e83a8e4fa9d2e3
parent2beff74314459df86561eea74a1864c50c54ec4f
gallium: fold u_trim_pipe_prim call from st/mesa to drivers

Most drivers don't need it and shouldn't need it because it can't be used
in some cases (indirect draws, primitive restart, count from streamout).

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/etnaviv/etnaviv_context.c
src/gallium/drivers/freedreno/freedreno_draw.c
src/gallium/drivers/i915/i915_context.c
src/gallium/drivers/nouveau/nv30/nv30_vbo.c
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/swr/swr_draw.cpp
src/gallium/drivers/vc4/vc4_draw.c
src/gallium/drivers/virgl/virgl_context.c
src/mesa/state_tracker/st_draw.c