[Nouveau] [Mesa-dev] [PATCH mesa v2 3/3] gallium: Remove unused TGSI_RESOURCE_ defines

Marek Olšák maraeo at gmail.com
Thu Mar 17 15:20:06 UTC 2016


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Thu, Mar 17, 2016 at 10:13 AM, Hans de Goede <hdegoede at redhat.com> wrote:
> These magic file-index defines where only ever used in the nouveau code
> and that no longer uses them.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
> Changes in v2:
> -Split out of "nouveau: codegen: Disable more old resource handling code"
> ---
>  src/gallium/include/pipe/p_shader_tokens.h | 9 ---------
>  1 file changed, 9 deletions(-)
>
> diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
> index 65d8ad9..5ef6c30 100644
> --- a/src/gallium/include/pipe/p_shader_tokens.h
> +++ b/src/gallium/include/pipe/p_shader_tokens.h
> @@ -237,15 +237,6 @@ struct tgsi_declaration_array {
>     unsigned Padding : 22;
>  };
>
> -/*
> - * Special resources that don't need to be declared.  They map to the
> - * GLOBAL/LOCAL/PRIVATE/INPUT compute memory spaces.
> - */
> -#define TGSI_RESOURCE_GLOBAL   0x7fff
> -#define TGSI_RESOURCE_LOCAL    0x7ffe
> -#define TGSI_RESOURCE_PRIVATE  0x7ffd
> -#define TGSI_RESOURCE_INPUT    0x7ffc
> -
>  #define TGSI_IMM_FLOAT32   0
>  #define TGSI_IMM_UINT32    1
>  #define TGSI_IMM_INT32     2
> --
> 2.7.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the Nouveau mailing list