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>
llvm-svn: 212829
This commit is contained in:
Marek Olsak 2014-07-11 17:11:39 +00:00
parent 6de08c3dc4
commit ba77c3e4ed
1 changed files with 1 additions and 1 deletions

View File

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