mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-24 22:30:31 +01:00
radeonsi: enable VGPR spilling on VI
This fixes corruption in Unigine Heaven on VI Cc: 11.0 <mesa-stable@lists.freedesktop.org> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
c6502e880b
commit
7956eae1c7
1 changed files with 1 additions and 3 deletions
|
|
@ -205,9 +205,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue