mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
radeonsi: require LLVM 11 for gfx10.3
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5383>
This commit is contained in:
parent
9538b9a68e
commit
0795241dde
1 changed files with 6 additions and 0 deletions
|
|
@ -925,6 +925,12 @@ static struct pipe_screen *radeonsi_screen_create_impl(struct radeon_winsys *ws,
|
|||
sscreen->ws = ws;
|
||||
ws->query_info(ws, &sscreen->info);
|
||||
|
||||
if (sscreen->info.chip_class == GFX10_3 && LLVM_VERSION_MAJOR < 11) {
|
||||
fprintf(stderr, "radeonsi: GFX 10.3 requires LLVM 11 or higher\n");
|
||||
FREE(sscreen);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (sscreen->info.chip_class == GFX10 && LLVM_VERSION_MAJOR < 9) {
|
||||
fprintf(stderr, "radeonsi: Navi family support requires LLVM 9 or higher\n");
|
||||
FREE(sscreen);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue