summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_shader.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-08-29 10:15:36 -0600
committerBrian Paul <[email protected]>2016-08-29 12:40:45 -0600
commitf5602c27ec681f1f66cdb8d79378991b79ce45e7 (patch)
tree272fec66f32b44e110c7aec7113785d7de368eb0 /src/gallium/drivers/svga/svga_shader.c
parent5e76baa2ad261c72f96a3df42ace4773a1c7daa9 (diff)
svga: s/unsigned/enum pipe_shader_type/
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_shader.c')
-rw-r--r--src/gallium/drivers/svga/svga_shader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_shader.c b/src/gallium/drivers/svga/svga_shader.c
index 9ba60555bf0..55f79224779 100644
--- a/src/gallium/drivers/svga/svga_shader.c
+++ b/src/gallium/drivers/svga/svga_shader.c
@@ -166,7 +166,8 @@ svga_remap_generic_index(int8_t remap_table[MAX_GENERIC_VARYING],
* state. This is basically the texture-related state.
*/
void
-svga_init_shader_key_common(const struct svga_context *svga, unsigned shader,
+svga_init_shader_key_common(const struct svga_context *svga,
+ enum pipe_shader_type shader,
struct svga_compile_key *key)
{
unsigned i, idx = 0;