summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-11-17 15:03:21 -0700
committerBrian Paul <[email protected]>2017-11-17 16:09:40 -0700
commitaf322ed88762f0436603c8857d993df94e07b66b (patch)
tree8d5495c5f6a60b8cd8848b24714ed91f6ee9e419
parentfdee3e1d824ed2d100c04983d5c5fe349ca1fe73 (diff)
tgsi: s/uint/enum pipe_shader_type/
Roland Scheidegger <[email protected]>
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_info.c2
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_info.h2
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 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 */