OSDN Git Service

ac/nir: pass the number of enabled channels to si_llvm_init_export_args()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 1 Mar 2018 10:54:20 +0000 (11:54 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 6 Mar 2018 09:37:50 +0000 (10:37 +0100)
commitc24abae9dcd6c83ae9e90efbda5936be89dabb0e
treee788a674fb780d11fc5837159489ffcf6c1ab10b
parent5cd34f03c0a38fffe776a57521dad8ca24453bf1
ac/nir: pass the number of enabled channels to si_llvm_init_export_args()

Currently, it's always 0xf but an upcoming patch will reduce the
number of channels for parameters export.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c