summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/MCTargetDesc
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-09-13 15:21:42 +0000
committerTom Stellard <[email protected]>2012-09-21 19:30:58 +0000
commit438b1da7e552cff3f486944baff92ef6e3bb9608 (patch)
tree205d0c40b8089999cdc64db56b790bd5916560d7 /src/gallium/drivers/radeon/MCTargetDesc
parent3882d7b5e434fb1e0e024b1cee2a885b3ad251bf (diff)
radeon/llvm: Handle loads from the constants address space.
Reading from constant memory is not supported yet, so constant reads use global memory.
Diffstat (limited to 'src/gallium/drivers/radeon/MCTargetDesc')
-rw-r--r--src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp b/src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp
index 8ad8213eaf6..847fcb62d4e 100644
--- a/src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp
+++ b/src/gallium/drivers/radeon/MCTargetDesc/R600MCCodeEmitter.cpp
@@ -166,6 +166,7 @@ void R600MCCodeEmitter::EncodeInstruction(const MCInst &MI, raw_ostream &OS,
Emit(inst, OS);
break;
}
+ case AMDGPU::CONSTANT_LOAD_eg:
case AMDGPU::VTX_READ_PARAM_i32_eg:
case AMDGPU::VTX_READ_PARAM_f32_eg:
case AMDGPU::VTX_READ_GLOBAL_i8_eg: