[Mesa-dev] [PATCH 1/2] radeon/llvm: add SHADOWCUBE to TEX_SHADOW pattern
Vadim Girlin
vadimgirlin at gmail.com
Sat Dec 15 11:27:20 PST 2012
---
lib/Target/AMDGPU/R600Instructions.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Target/AMDGPU/R600Instructions.td b/lib/Target/AMDGPU/R600Instructions.td
index 5900794..6364645 100644
--- a/lib/Target/AMDGPU/R600Instructions.td
+++ b/lib/Target/AMDGPU/R600Instructions.td
@@ -338,7 +338,7 @@ class R600_TEX <bits<11> inst, string opName, list<dag> pattern,
def TEX_SHADOW : PatLeaf<
(imm),
[{uint32_t TType = (uint32_t)N->getZExtValue();
- return (TType >= 6 && TType <= 8) || TType == 11 || TType == 12;
+ return (TType >= 6 && TType <= 8) || (TType >= 11 && TType <= 13);
}]
>;
--
1.8.0.2
More information about the mesa-dev
mailing list