Pointed out by clang: src/gallium/auxiliary/draw/draw_context.h:251:41: warning: implicit conversion from enumeration type 'enum pipe_cap' to different enumeration type 'enum pipe_shader_cap' [-Wconversion] return tgsi_exec_get_shader_param(param); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~tags/mesa-7.11-rc1
@@ -243,7 +243,7 @@ boolean draw_need_pipeline(const struct draw_context *draw, | |||
unsigned prim ); | |||
static INLINE int | |||
draw_get_shader_param(unsigned shader, enum pipe_cap param) | |||
draw_get_shader_param(unsigned shader, enum pipe_shader_cap param) | |||
{ | |||
switch(shader) { | |||
case PIPE_SHADER_VERTEX: |