mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
nvc0: undo overzealous enum usage
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>
This commit is contained in:
parent
ec16a5b091
commit
ab0917311f
1 changed files with 2 additions and 2 deletions
|
|
@ -427,7 +427,7 @@ nvc0_sampler_state_delete(struct pipe_context *pipe, void *hwcso)
|
|||
|
||||
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;
|
||||
|
|
@ -457,7 +457,7 @@ nvc0_stage_sampler_states_bind(struct nvc0_context *nvc0,
|
|||
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue