1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

R600: Add SHADOWCUBE to TEX_SHADOW pattern

Patch by: Vadim Girlin

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
llvm-svn: 170921
This commit is contained in:
Tom Stellard 2012-12-21 20:11:59 +00:00
parent 4a7c7f63ce
commit 0a1defe552

View File

@ -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);
}]
>;