nv50: allow per-sample interpolation to be forced via rast
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 30 Oct 2015 02:18:25 +0000 (22:18 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 30 Oct 2015 02:42:38 +0000 (22:42 -0400)
commitf768eaa87d3413610df645dcc94b06fa1fbe0005
treec63fd8c092f06ad1e35ac7ddf0a1a29ee2c2a4a6
parent85ee2f7fcf59991308632d7e3a64e9a1d22fe24c
nv50: allow per-sample interpolation to be forced via rast

Uses the same technique as for nvc0 of fixups before upload, and
evicting in case of state change. Removes one source of variants kept by
st/mesa.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nv50.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
src/gallium/drivers/nouveau/nv50/nv50_program.c
src/gallium/drivers/nouveau/nv50/nv50_program.h
src/gallium/drivers/nouveau/nv50/nv50_screen.c
src/gallium/drivers/nouveau/nv50/nv50_shader_state.c
src/gallium/drivers/nouveau/nv50/nv50_state_validate.c