aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_ureg.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-02-07 18:18:39 -0700
committerBrian Paul <[email protected]>2018-02-08 09:49:03 -0700
commit0f40f4ffdae7b9cc5b9cb32a9373ab95ebee4383 (patch)
tree23df73cbcef7750dd3f99094d63cf9740506d88f /src/gallium/auxiliary/tgsi/tgsi_ureg.h
parentc0dc337ecd7d785e8693cfcb772f49f856975bf0 (diff)
tgsi: s/unsigned/enum pipe_shader_type/ in ureg code
And add a default switch case to silence a compiler warning. Reviewed-by: Mathias Fröhlich <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
index 03496896aa4..e8ebae94357 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
@@ -93,10 +93,11 @@ struct ureg_dst
struct pipe_context;
struct ureg_program *
-ureg_create(unsigned processor);
+ureg_create(enum pipe_shader_type processor);
struct ureg_program *
-ureg_create_with_screen(unsigned processor, struct pipe_screen *screen);
+ureg_create_with_screen(enum pipe_shader_type processor,
+ struct pipe_screen *screen);
const struct tgsi_token *
ureg_finalize( struct ureg_program * );