OSDN Git Service

gallium/radeon: allocate temps array info in radeon_llvm_context_init
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 10 Aug 2016 16:41:21 +0000 (18:41 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 17 Aug 2016 10:11:23 +0000 (12:11 +0200)
commit7c2295d7efba2178c22e0caf9d9166db81ea7329
tree1885cc98283fd02eb9ea5d0b21f5362a8ee3dd52
parent850c8dcc9c4ab36bb9bbd8607f0f5caa9b7d968a
gallium/radeon: allocate temps array info in radeon_llvm_context_init

Also, prepare for using tgsi_array_info.

This also opens the door for properly handling allocation failures, but I'm
leaving that for a separate change.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/radeon_llvm.h
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
src/gallium/drivers/radeonsi/si_shader.c