radeonsi: implement SAMPLEPOS system value without a constant buffer load
authorMarek Olšák <marek.olsak@amd.com>
Wed, 20 Jan 2016 00:45:21 +0000 (01:45 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 22 Jan 2016 14:02:40 +0000 (15:02 +0100)
commit6f428328d34bed16edb8709e4a117eb710d7893d
tree9d2fe5ecc61ea166ea30df7e760b30a76b015881
parent2b66bc87d4dc50e7b97d3f4521767927fbf355a4
radeonsi: implement SAMPLEPOS system value without a constant buffer load

We always get per-sample input position.

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c