radeonsi/nir: adjust load_sample_position() to be shared between backends
authorTimothy Arceri <tarceri@itsqueeze.com>
Sun, 14 Jan 2018 09:49:40 +0000 (20:49 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 30 Jan 2018 22:14:07 +0000 (09:14 +1100)
commit3ff012f142f42faed6d281cf4a17f72ec977c8cb
tree9438308e637ccd1ef7296a0b9a3d25a8d8ed9d49
parent3a47b138e3d94494730b3131f70d1e67cfb1826c
radeonsi/nir: adjust load_sample_position() to be shared between backends

With this interface change it can be shared between the tgsi and
nir backends.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c