[Mesa-dev] [PATCH] tgsi: add ucmp to the list of opcodes

Roland Scheidegger sroland at vmware.com
Tue Jul 30 13:19:46 PDT 2013


Am 30.07.2013 22:12, schrieb Zack Rusin:
> we forgot to add ucmp to the list of opcodes, so it was never
> generated for ureg.
> 
> Signed-off-by: Zack Rusin <zackr at vmware.com>
> ---
>  src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h b/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h
> index b87c4b1..93ec0b5 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h
> +++ b/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h
> @@ -198,6 +198,8 @@ OP12(SVIEWINFO)
>  OP13(SAMPLE_POS)
>  OP12(SAMPLE_INFO)
>  
> +OP13(UCMP)
> +
>  
>  #undef OP00
>  #undef OP01
> 

Looks good (though ucmp still has somewhat undefined behavior wrt src
modifiers but doesn't really matter here).

Roland


More information about the mesa-dev mailing list