llvm.org GIT mirror llvm / 4071d6f
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 Marek Olsak 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
215215 def TEX_SHADOW : PatLeaf<
216216 (imm),
217217 [{uint32_t TType = (uint32_t)N->getZExtValue();
218 return (TType >= 6 && TType <= 8) || (TType >= 11 && TType <= 13);
218 return (TType >= 6 && TType <= 8) || TType == 13;
219219 }]
220220 >;
221221