summaryrefslogtreecommitdiff
path: root/src/amd/common/ac_llvm_util.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-05-05 10:27:33 +1000
committerAndres Gomez <agomez@igalia.com>2017-05-12 21:54:56 +0300
commit6c9734a13d201cf00441f02bf21756704bdee09f (patch)
tree932392ca5924771f65c6278a7eec2b458f01b65e /src/amd/common/ac_llvm_util.c
parent3dea3a38bd744ac3c9e0c77c2cad99112d96fda3 (diff)
radv: enable POLARIS12 support.
This just adds the chip in the right places. We don't set the partial_vs_wave workaround, as radeonsi doesn't, but have to confirm it's not required. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Cc: "17.1" <mesa-stable@lists.freedesktop.org> Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit a096d8d3f7a8c6dffc91b2ac1794fdd215c054d3) [Andres Gomez: dropped code that didn't make it for 17.0] Signed-off-by: Andres Gomez <agomez@igalia.com> Conflicts: src/amd/vulkan/radv_device.c
Diffstat (limited to 'src/amd/common/ac_llvm_util.c')
-rw-r--r--src/amd/common/ac_llvm_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_util.c b/src/amd/common/ac_llvm_util.c
index 770e3bd13c1..0ffd18c9dbd 100644
--- a/src/amd/common/ac_llvm_util.c
+++ b/src/amd/common/ac_llvm_util.c
@@ -119,6 +119,7 @@ static const char *ac_get_llvm_processor_name(enum radeon_family family)
case CHIP_POLARIS10:
return "polaris10";
case CHIP_POLARIS11:
+ case CHIP_POLARIS12:
return "polaris11";
#endif
default: