summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/R600InstrInfo.cpp
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-08-21 14:53:50 +0000
committerTom Stellard <[email protected]>2012-08-21 15:42:44 +0000
commit1cb07bd3b8abd5e52e9dbd80bb1666058545387e (patch)
tree0cf0b494fbb4b5412c0c30df103b6c9a478a4d9a /src/gallium/drivers/radeon/R600InstrInfo.cpp
parent6c99f2101fbd3edb7d5899c44ca9d984a3c0f8b6 (diff)
radeon/llvm: ExpandSpecialInstrs - Add support for cube instructions
Diffstat (limited to 'src/gallium/drivers/radeon/R600InstrInfo.cpp')
-rw-r--r--src/gallium/drivers/radeon/R600InstrInfo.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/R600InstrInfo.cpp b/src/gallium/drivers/radeon/R600InstrInfo.cpp
index 12b46654bb7..56a2cf93199 100644
--- a/src/gallium/drivers/radeon/R600InstrInfo.cpp
+++ b/src/gallium/drivers/radeon/R600InstrInfo.cpp
@@ -153,8 +153,10 @@ bool R600InstrInfo::isCubeOp(unsigned opcode) const
{
switch(opcode) {
default: return false;
- case AMDGPU::CUBE_r600:
- case AMDGPU::CUBE_eg:
+ case AMDGPU::CUBE_r600_pseudo:
+ case AMDGPU::CUBE_r600_real:
+ case AMDGPU::CUBE_eg_pseudo:
+ case AMDGPU::CUBE_eg_real:
return true;
}
}