radv: Use different intrinsic for ubo loads.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 28 Nov 2016 23:18:43 +0000 (00:18 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 29 Nov 2016 07:36:16 +0000 (08:36 +0100)
commit05533ce418851b12fd0a1e940a633f9280203aab
tree49f71eca18d0846c86567f9af0b42a31f9d3b6ff
parent0303201dfb73c16751d5519cca7480fa678d429a
radv: Use different intrinsic for ubo loads.

Not sure about the deprecation path, but this intrinsic
can be lowered to SMEM loads. This results in a significant
Talos performance improvement.

v2: Fix for LLVM attribute changes.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c