diff options
author | Tom Stellard <[email protected]> | 2012-08-21 14:53:50 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-08-21 15:42:44 +0000 |
commit | 1cb07bd3b8abd5e52e9dbd80bb1666058545387e (patch) | |
tree | 0cf0b494fbb4b5412c0c30df103b6c9a478a4d9a /src/gallium/drivers/radeon/R600InstrInfo.cpp | |
parent | 6c99f2101fbd3edb7d5899c44ca9d984a3c0f8b6 (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.cpp | 6 |
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; } } |