OSDN Git Service

radv: Use NIR barycentric intrinsics
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 10 May 2019 08:44:20 +0000 (10:44 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 8 Jul 2019 12:18:25 +0000 (14:18 +0200)
commit118a66df9907772bb9e5503b736c95d7bb62d52c
tree8d32ee9583deeb9ec2257af7dd48788742dc188f
parent0cad0424e9c3885cb9ec212088d40dbe644a797d
radv: Use NIR barycentric intrinsics

We have to add a few lowering to deal with things that used to be dealt
with inline when creating inputs. We also move the code that fills out
the radv_shader_variant_info struct for linking purposes to
radv_shader.c, as it's no longer tied to the NIR->LLVM lowering.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader_info.c