[Mesa-dev] [PATCH] tgsi: s/unsigned/enum tgsi_semantic/ in ureg_DECL_output()

Brian Paul brianp at vmware.com
Thu Feb 8 17:01:10 UTC 2018


On 02/08/2018 09:55 AM, Brian Paul wrote:
> So the function matches the prototype.  Found with clang.
> ---
>   src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> index 40a047a..3da2ef2 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> @@ -486,7 +486,7 @@ ureg_DECL_output_masked(struct ureg_program *ureg,
>   
>   struct ureg_dst
>   ureg_DECL_output(struct ureg_program *ureg,
> -                 unsigned name,
> +                 enum tgsi_semantic semantic_name,
>                    unsigned index)
>   {
>      return ureg_DECL_output_masked(ureg, name, index, TGSI_WRITEMASK_XYZW,
> 

Please ignore.  v2 coming.

-Brian



More information about the mesa-dev mailing list