draw: nuke the interp parameter from vertex_info
authorRoland Scheidegger <sroland@vmware.com>
Sat, 19 Dec 2015 02:43:14 +0000 (03:43 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 7 Jan 2016 00:58:05 +0000 (01:58 +0100)
commit2dbc20e45689e09766552517a74e2270e49817b5
tree89b68999153a1304a66923d4ced241fd9beddaba
parent892e2d1395375c6f904af5250371c8d2784c8762
draw: nuke the interp parameter from vertex_info

draw emit couldn't care less what the interpolation mode is...
This somehow looked like it would matter, all drivers more or less
dutifully filled that in correctly. But this is only used for emit,
if draw needs to know about interpolation mode (for clipping for instance)
it will get that information from the vs anyway.
softpipe actually used to depend on that interpolation parameter, as it
abused that structure quite a bit but no longer.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/gallium/auxiliary/draw/draw_vertex.h
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_state.c
src/gallium/drivers/i915/i915_state_derived.c
src/gallium/drivers/llvmpipe/lp_state_derived.c
src/gallium/drivers/nouveau/nv30/nv30_draw.c
src/gallium/drivers/r300/r300_state_derived.c
src/gallium/drivers/softpipe/sp_setup.c
src/gallium/drivers/softpipe/sp_setup.h
src/gallium/drivers/softpipe/sp_state_derived.c
src/gallium/drivers/svga/svga_swtnl_state.c