mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 16:37:42 +00:00
R600: Add SHADOWCUBE to TEX_SHADOW pattern
Patch by: Vadim Girlin Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170921 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4e23ebe766
commit
fe13e70f6f
@ -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);
|
||||
}]
|
||||
>;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user