[Mesa-dev] [PATCH 1/2] R600/SI: fix shadow mapping for 1D and 2D array textures

Tom Stellard tom at stellard.net
Fri Jul 4 09:32:21 PDT 2014


On Thu, Jul 03, 2014 at 06:26:04PM +0200, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>

Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

> 
> It was conflicting with def TEX_SHADOW_ARRAY, which also handles them.
> ---
>  lib/Target/R600/R600Instructions.td | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/Target/R600/R600Instructions.td b/lib/Target/R600/R600Instructions.td
> index 73fa345..704507d 100644
> --- a/lib/Target/R600/R600Instructions.td
> +++ b/lib/Target/R600/R600Instructions.td
> @@ -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;
>    }]
>  >;
>  
> -- 
> 1.9.1
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list