radeonsi/nir: Use NIR barycentric intrinsics
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 14 May 2019 11:29:52 +0000 (13:29 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 8 Jul 2019 12:18:46 +0000 (14:18 +0200)
commitb3a226691d91c4b373ff1b891be7e2c1409dfd7f
tree01f41ec2079b8493a9e16658cc674d3b811a8d6d
parentd1c65939e2dd2250286fd3f77c1e1d5d7707a31b
radeonsi/nir: Use NIR barycentric intrinsics

This is simpler than radv, since the driver_location is already assigned
for us.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_shader_abi.h
src/gallium/drivers/radeonsi/si_get.c
src/gallium/drivers/radeonsi/si_shader_nir.c