svga: use new adjust_z_layer() helper in svga_pipe_blit.c
[mesa.git] / src / gallium / drivers / svga / svga_shader.c
index 9ba60555bf090b6016c4646262bef7f6a13b810b..55f79224779e703aefb928209c657fcf1c13a04b 100644 (file)
@@ -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;