summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-12-14 18:35:12 +0100
committerMarek Olšák <[email protected]>2017-03-30 14:44:33 +0200
commit9338ab0afd0ab82a9077e11651c61424039bd12c (patch)
treedab47d311c4bee05551832403904bf7f2552c723 /src/gallium/drivers
parent68d6d097f15dbe17c1d0c8cb57157d9fd0005bdc (diff)
radeonsi/gfx9: set the LLVM processor, require LLVM 5.0
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeon/r600_pipe_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c
index 7ec57031412..052054b421d 100644
--- a/src/gallium/drivers/radeon/r600_pipe_common.c
+++ b/src/gallium/drivers/radeon/r600_pipe_common.c
@@ -952,6 +952,8 @@ const char *r600_get_llvm_processor_name(enum radeon_family family)
case CHIP_POLARIS11:
case CHIP_POLARIS12: /* same as polaris11 */
return HAVE_LLVM >= 0x0309 ? "polaris11" : "carrizo";
+ case CHIP_VEGA10:
+ return "gfx900";
default:
return "";
}