radeonsi: remove interp_at_sample from the key, use TGSI_INTERPOLATE_LOC_SAMPLE
authorMarek Olšák <marek.olsak@amd.com>
Tue, 30 Sep 2014 15:09:13 +0000 (17:09 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 4 Oct 2014 13:16:14 +0000 (15:16 +0200)
commit10e386f4aa3ef8ce1c60ec5be0865cc61bd093e2
treeab6f61d47bd2b5b834feb6b2861097561846747a
parent0a2d6f0c4e2230739aad6b6938925bf91d55d9d4
radeonsi: remove interp_at_sample from the key, use TGSI_INTERPOLATE_LOC_SAMPLE

st/mesa has the same flag in its shader key, we don't need to do it
in the driver anymore.

Instead, use TGSI_INTERPOLATE_LOC_SAMPLE, which is what st/mesa sets.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.c