radeonsi: Handle TGSI CONST registers
authorTom Stellard <thomas.stellard@amd.com>
Wed, 16 May 2012 19:15:35 +0000 (15:15 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 29 May 2012 15:55:52 +0000 (11:55 -0400)
commit467f51613eb1f2cdaa8624bbbb3d5fae2abca4f2
treeaa40f6a2b57e86ba885cbf667ef06e524b05767b
parent32b83e0366560a77798545880f980adc04b4361f
radeonsi: Handle TGSI CONST registers

We now emit LLVM load instructions for TGSI CONST register reads,
which are lowered in the backend to S_LOAD_DWORD* instructions.
12 files changed:
src/gallium/drivers/radeon/AMDILCodeEmitter.h
src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp
src/gallium/drivers/radeon/AMDILISelLowering.cpp
src/gallium/drivers/radeon/R600ISelLowering.cpp
src/gallium/drivers/radeon/SICodeEmitter.cpp
src/gallium/drivers/radeon/SIGenRegisterInfo.pl
src/gallium/drivers/radeon/SIISelLowering.cpp
src/gallium/drivers/radeon/SIInstrInfo.td
src/gallium/drivers/radeon/SIInstructions.td
src/gallium/drivers/radeon/SIIntrinsics.td
src/gallium/drivers/radeon/SIPropagateImmReads.cpp
src/gallium/drivers/radeonsi/radeonsi_shader.c