mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
identity: adapt to stencil ref changes
This commit is contained in:
parent
5365d41895
commit
4ea2f61e5a
1 changed files with 12 additions and 0 deletions
|
|
@ -388,6 +388,17 @@ identity_set_blend_color(struct pipe_context *_pipe,
|
|||
blend_color);
|
||||
}
|
||||
|
||||
static void
|
||||
identity_set_stencil_ref(struct pipe_context *_pipe,
|
||||
const struct pipe_stencil_ref *stencil_ref)
|
||||
{
|
||||
struct identity_context *id_pipe = identity_context(_pipe);
|
||||
struct pipe_context *pipe = id_pipe->pipe;
|
||||
|
||||
pipe->set_stencil_ref(pipe,
|
||||
stencil_ref);
|
||||
}
|
||||
|
||||
static void
|
||||
identity_set_clip_state(struct pipe_context *_pipe,
|
||||
const struct pipe_clip_state *clip)
|
||||
|
|
@ -723,6 +734,7 @@ identity_context_create(struct pipe_screen *_screen, struct pipe_context *pipe)
|
|||
id_pipe->base.bind_vs_state = identity_bind_vs_state;
|
||||
id_pipe->base.delete_vs_state = identity_delete_vs_state;
|
||||
id_pipe->base.set_blend_color = identity_set_blend_color;
|
||||
id_pipe->base.set_stencil_ref = identity_set_stencil_ref;
|
||||
id_pipe->base.set_clip_state = identity_set_clip_state;
|
||||
id_pipe->base.set_constant_buffer = identity_set_constant_buffer;
|
||||
id_pipe->base.set_framebuffer_state = identity_set_framebuffer_state;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue