summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPUUtil.cpp
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2012-05-07 12:47:47 +0400
committerVadim Girlin <[email protected]>2012-05-08 01:18:22 +0400
commit95ed0e9b6b445c70e920d340818fc0f84d45233e (patch)
tree1c08e07cddcc3ab7a1389565498128f4e0e2d49e /src/gallium/drivers/radeon/AMDGPUUtil.cpp
parentd8a120485444968c930f0ab675473692b221cb75 (diff)
radeon/llvm: add support for TXQ/TXF/DDX/DDY instructions
Signed-off-by: Vadim Girlin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUUtil.cpp')
-rw-r--r--src/gallium/drivers/radeon/AMDGPUUtil.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUUtil.cpp b/src/gallium/drivers/radeon/AMDGPUUtil.cpp
index 663a77f2645..30fa32ce98a 100644
--- a/src/gallium/drivers/radeon/AMDGPUUtil.cpp
+++ b/src/gallium/drivers/radeon/AMDGPUUtil.cpp
@@ -72,6 +72,8 @@ bool llvm::isTexOp(unsigned opcode)
{
switch(opcode) {
default: return false;
+ case AMDIL::TEX_LD:
+ case AMDIL::TEX_GET_TEXTURE_RESINFO:
case AMDIL::TEX_SAMPLE:
case AMDIL::TEX_SAMPLE_C:
case AMDIL::TEX_SAMPLE_L:
@@ -80,6 +82,8 @@ bool llvm::isTexOp(unsigned opcode)
case AMDIL::TEX_SAMPLE_C_LB:
case AMDIL::TEX_SAMPLE_G:
case AMDIL::TEX_SAMPLE_C_G:
+ case AMDIL::TEX_GET_GRADIENTS_H:
+ case AMDIL::TEX_GET_GRADIENTS_V:
return true;
}
}