[Mesa-dev] [PATCH 1/2] radeon/llvm: add SHADOWCUBE to TEX_SHADOW pattern
Michel Dänzer
michel at daenzer.net
Mon Dec 17 06:36:58 PST 2012
On Sam, 2012-12-15 at 23:27 +0400, Vadim Girlin wrote:
> ---
> lib/Target/AMDGPU/R600Instructions.td | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/Target/AMDGPU/R600Instructions.td b/lib/Target/AMDGPU/R600Instructions.td
> index 5900794..6364645 100644
> --- a/lib/Target/AMDGPU/R600Instructions.td
> +++ b/lib/Target/AMDGPU/R600Instructions.td
> @@ -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);
> }]
> >;
>
The convention so far has been to use the 'radeon/llvm:' prefix for
src/gallium/drivers/radeon/ in the Mesa tree, and 'R600:' (formerly
'AMDGPU:') for lib/Target/R600/ (formerly .../AMDGPU/) in the LLVM tree.
Other than that,
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
More information about the mesa-dev
mailing list