OSDN Git Service

aco: set vm for pos0 exports on GFX10
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 9 Dec 2019 13:38:47 +0000 (13:38 +0000)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 14 Jan 2020 21:27:20 +0000 (13:27 -0800)
commit729d6326860a16bdb5fa93dd4c6ab50f1a94999c
treeec497eb899e5cb51183611bd220e2cb1faef17a7
parent8df6be9b918bbd75584a594e9f0ac3a9db799480
aco: set vm for pos0 exports on GFX10

RADV's LLVM backend and radeonsi does the same thing.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Cc: 19.3 <mesa-stable@lists.freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3081>
(cherry picked from commit 49bcd06f974dcd8f60b4aa7d93bf1843439126a2)
src/amd/compiler/aco_assembler.cpp
src/amd/compiler/aco_instruction_selection.cpp