[Mesa-dev] [PATCH] tgsi: s/uint/enum pipe_shader_type/
Roland Scheidegger
sroland at vmware.com
Fri Nov 17 22:18:20 UTC 2017
Reviewed-by:
Roland Scheidegger <sroland at vmware.com>
Am 17.11.2017 um 23:15 schrieb Brian Paul:
> ---
> src/gallium/auxiliary/tgsi/tgsi_info.c | 2 +-
> src/gallium/auxiliary/tgsi/tgsi_info.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.c b/src/gallium/auxiliary/tgsi/tgsi_info.c
> index 2baed5b..a204682 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_info.c
> +++ b/src/gallium/auxiliary/tgsi/tgsi_info.c
> @@ -94,7 +94,7 @@ tgsi_get_opcode_name( uint opcode )
>
>
> const char *
> -tgsi_get_processor_name( uint processor )
> +tgsi_get_processor_name(enum pipe_shader_type processor)
> {
> switch (processor) {
> case PIPE_SHADER_VERTEX:
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.h b/src/gallium/auxiliary/tgsi/tgsi_info.h
> index bbd86c6..2c97bb6 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_info.h
> +++ b/src/gallium/auxiliary/tgsi/tgsi_info.h
> @@ -89,7 +89,7 @@ const char *
> tgsi_get_opcode_name( uint opcode );
>
> const char *
> -tgsi_get_processor_name( uint processor );
> +tgsi_get_processor_name(enum pipe_shader_type processor);
>
> enum tgsi_opcode_type {
> TGSI_TYPE_UNTYPED, /* for MOV */
>
More information about the mesa-dev
mailing list