radeonsi: Read config values from the .AMDGPU.config ELF section
authorTom Stellard <thomas.stellard@amd.com>
Thu, 4 Apr 2013 20:21:06 +0000 (16:21 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 15 Apr 2013 17:54:30 +0000 (10:54 -0700)
commitd50343dff1e74c203a9c32279b85ed762907b7ca
treed37cc8e303292ea99d0e2d31c75eeae546894a5d
parent9277b04c02de1e7a89b65839d8f4f717163ab4b1
radeonsi: Read config values from the .AMDGPU.config ELF section

Instead of emitting configuration values (e.g. number of gprs used) in a
predefined order, the LLVM backend now emits these values in
register/value pairs.  The first dword contains the register address and
the second dword contians the value to write.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeon/LLVM_REVISION.txt
src/gallium/drivers/radeonsi/radeonsi_shader.c