diff options
author | Marek Olšák <[email protected]> | 2018-05-16 22:23:41 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-05-17 14:54:41 -0400 |
commit | f9eb1ef870eba9fdacf9a8cbd815ec3bff81db05 (patch) | |
tree | 41c8cc95b679a5b320d3282975fa8c394b01ecdb /src/amd/vulkan/radv_device.c | |
parent | 11a0d5563f49b84f27b2707d77a8553da52d73ba (diff) |
amd: remove support for LLVM 4.0
It doesn't support GFX9.
Acked-by: Dave Airlie <[email protected]>
Acked-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 778887bd580..51b44cc2227 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -108,12 +108,9 @@ radv_get_device_name(enum radeon_family family, char *name, size_t name_len) default: chip_string = "AMD RADV unknown"; break; } - if (HAVE_LLVM > 0) { - snprintf(llvm_string, sizeof(llvm_string), - " (LLVM %i.%i.%i)", (HAVE_LLVM >> 8) & 0xff, - HAVE_LLVM & 0xff, MESA_LLVM_VERSION_PATCH); - } - + snprintf(llvm_string, sizeof(llvm_string), + " (LLVM %i.%i.%i)", (HAVE_LLVM >> 8) & 0xff, + HAVE_LLVM & 0xff, MESA_LLVM_VERSION_PATCH); snprintf(name, name_len, "%s%s", chip_string, llvm_string); } |