aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_tgsi.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-02-14 14:53:42 -0700
committerBrian Paul <[email protected]>2018-02-15 09:05:09 -0700
commitfa901768a4442e2376d03a57603bf2ca4bd1f490 (patch)
tree16f33bcf1cc2595c0adf0ec0064bd5960c703558 /src/gallium/drivers/svga/svga_tgsi.h
parent8b54299c344d9fd35118fab50efa136f8971a7cc (diff)
svga: s/unsigned/enum pipe_shader_type/
Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_tgsi.h')
-rw-r--r--src/gallium/drivers/svga/svga_tgsi.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi.h b/src/gallium/drivers/svga/svga_tgsi.h
index 2581135701f..e98601127f4 100644
--- a/src/gallium/drivers/svga/svga_tgsi.h
+++ b/src/gallium/drivers/svga/svga_tgsi.h
@@ -65,13 +65,14 @@ static inline void svga_generate_vdecl_semantics( unsigned idx,
struct svga_shader_variant *
svga_tgsi_vgpu9_translate(struct svga_context *svga,
const struct svga_shader *shader,
- const struct svga_compile_key *key, unsigned unit);
+ const struct svga_compile_key *key,
+ enum pipe_shader_type unit);
struct svga_shader_variant *
svga_tgsi_vgpu10_translate(struct svga_context *svga,
const struct svga_shader *shader,
const struct svga_compile_key *key,
- unsigned unit);
+ enum pipe_shader_type unit);
boolean svga_shader_verify(const uint32_t *tokens, unsigned nr_tokens);