Commit
7413625ad3 flipped a few functions too many to use
pipe_shader_type. These functions actually take an integer that does not
correspond 1:1 with the enum.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
static inline void
nvc0_stage_sampler_states_bind(struct nvc0_context *nvc0,
- enum pipe_shader_type s,
+ unsigned s,
unsigned nr, void **hwcso)
{
unsigned i;
static void
nvc0_stage_sampler_states_bind_range(struct nvc0_context *nvc0,
- const enum pipe_shader_type s,
+ unsigned s,
unsigned start, unsigned nr, void **cso)
{
const unsigned end = start + nr;