From: Nicolai Hähnle Date: Tue, 19 Jun 2018 15:44:24 +0000 (+0200) Subject: radeonsi/gfx10: set llvm_has_working_vgpr_indexing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd8758366bce3cf764ef47c2aa5ddf461875b4c9;p=mesa.git radeonsi/gfx10: set llvm_has_working_vgpr_indexing Acked-by: Bas Nieuwenhuizen --- diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 9ea08c8fb26..7eaa400849e 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -1140,10 +1140,9 @@ radeonsi_screen_create_impl(struct radeon_winsys *ws, } /* While it would be nice not to have this flag, we are constrained - * by the reality that LLVM 5.0 doesn't have working VGPR indexing - * on GFX9. + * by the reality that LLVM 9.0 has buggy VGPR indexing on GFX9. */ - sscreen->llvm_has_working_vgpr_indexing = sscreen->info.chip_class <= GFX8; + sscreen->llvm_has_working_vgpr_indexing = sscreen->info.chip_class != GFX9; /* Some chips have RB+ registers, but don't support RB+. Those must * always disable it.