This should fix a bug added by
f5bfe54a.
Might also fix:
https://bugs.freedesktop.org/show_bug.cgi?id=41715
}
break;
case PIPE_SHADER_VERTEX:
+ switch (param)
+ {
+ case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
+ return 0;
+ default:;
+ }
+
if (!r300screen->caps.has_tcl) {
return draw_get_shader_param(shader, param);
}
case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR:
case PIPE_SHADER_CAP_SUBROUTINES:
case PIPE_SHADER_CAP_INTEGERS:
- case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
return 0;
+ default:;
}
break;
- default:
- break;
}
return 0;
}