radeonsi: Read rodata from ELF and append it to the end of shaders
authorTom Stellard <thomas.stellard@amd.com>
Mon, 14 Jul 2014 20:49:08 +0000 (16:49 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 21 Jul 2014 14:00:09 +0000 (10:00 -0400)
commit9ba3105e0a4b186d6b1ee4c23886a3c4cd0a3543
treed2bc36a2b8ed1d69765b4444dd439c1d15a70698
parent01c21c459f02b7540ea4e32e03c1e7b1acbd3fe6
radeonsi: Read rodata from ELF and append it to the end of shaders

The is used for programs that have arrays of constants that
are accessed using dynamic indices.  The shader will compute
the base address of the constants and then access them using
SMRD instructions.
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/radeon_elf_util.c
src/gallium/drivers/radeonsi/si_shader.c