radeonsi: implement forcing per-sample_interpolation using the shader key only
authorMarek Olšák <marek.olsak@amd.com>
Sun, 3 Jan 2016 18:00:29 +0000 (19:00 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 9 Feb 2016 20:19:51 +0000 (21:19 +0100)
commitb9126dcda834ba9cf58af32e97f4b5d93c9817a3
tree7b47e4168772d247d51371f740e695a6164348fe
parent4596f3c1b8bbcc83b841b6c7ea4a287a6f3210f7
radeonsi: implement forcing per-sample_interpolation using the shader key only

It was partly a state and partly emulated by shader code, but since we want
to do this in a fragment shader prolog, we need to put it into the shader
key, which will be used to generate the prolog.

This also removes the spi_ps_input states and moves the registers
to the PS state.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_hw_context.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c