From: Brian Paul Date: Fri, 17 Nov 2017 22:03:21 +0000 (-0700) Subject: tgsi: s/uint/enum pipe_shader_type/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af322ed88762f0436603c8857d993df94e07b66b;p=mesa.git tgsi: s/uint/enum pipe_shader_type/ Roland Scheidegger --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.c b/src/gallium/auxiliary/tgsi/tgsi_info.c index 2baed5be356..a2046822a5c 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 bbd86c6b969..2c97bb62dee 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 */