r600g/llvm: rework handling of the constants
authorVadim Girlin <vadimgirlin@gmail.com>
Tue, 8 Jan 2013 21:46:35 +0000 (22:46 +0100)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 18 Jan 2013 20:08:10 +0000 (20:08 +0000)
commit7d532800d8be5ce31731658564691ae9cdaacf7a
tree812ad374681f4dcb6737b86ca7d6fec6b1a9da10
parent1ee2880e865135df451a3dc21ccc8f3631bdba02
r600g/llvm: rework handling of the constants

Vincent Lejeune:
  - tgsi to llvm now emits pointers for constants

Tom Stellard:
  - Only use texture cache for vtx fetch with compute shaders
  - Change address space used for constant loads to match LLVM
    backend.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/r600/r600_llvm.c
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c