mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 17:31:50 +00:00
R600/SI: fix shadow mapping for 1D and 2D array textures
It was conflicting with def TEX_SHADOW_ARRAY, which also handles them. Reviewed-by: Tom Stellard <thomas.stellard@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212829 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cc00568a75
commit
4071d6f58b
@ -216,7 +216,7 @@ class R600_REDUCTION <bits<11> inst, dag ins, string asm, list<dag> pattern,
|
||||
def TEX_SHADOW : PatLeaf<
|
||||
(imm),
|
||||
[{uint32_t TType = (uint32_t)N->getZExtValue();
|
||||
return (TType >= 6 && TType <= 8) || (TType >= 11 && TType <= 13);
|
||||
return (TType >= 6 && TType <= 8) || TType == 13;
|
||||
}]
|
||||
>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user