Skip to content
Snippets Groups Projects
Commit c62f8298 authored by Marek Olšák's avatar Marek Olšák Committed by Emil Velikov
Browse files

radeonsi: enable VGPR spilling on VI


This fixes corruption in Unigine Heaven on VI

Cc: 11.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 7956eae1)
parent 151f84f2
No related branches found
Tags mesa-22.0.3
Loading
......@@ -195,9 +195,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, void *
r600_target = radeon_llvm_get_r600_target(triple);
sctx->tm = LLVMCreateTargetMachine(r600_target, triple,
r600_get_llvm_processor_name(sscreen->b.family),
sctx->b.chip_class >= VI ?
"+DumpCode" :
"+DumpCode,+vgpr-spilling",
"+DumpCode,+vgpr-spilling",
LLVMCodeGenLevelDefault,
LLVMRelocDefault,
LLVMCodeModelDefault);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment