mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
aux/tc: handle link_shader
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16906>
This commit is contained in:
parent
549d3ea600
commit
e6c1426166
1 changed files with 7 additions and 1 deletions
|
|
@ -1048,7 +1048,12 @@ tc_bind_sampler_states(struct pipe_context *_pipe,
|
|||
memcpy(p->slot, states, count * sizeof(states[0]));
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
tc_link_shader(struct pipe_context *_pipe, void **shaders)
|
||||
{
|
||||
struct threaded_context *tc = threaded_context(_pipe);
|
||||
tc->pipe->link_shader(tc->pipe, shaders);
|
||||
}
|
||||
/********************************************************************
|
||||
* immediate states
|
||||
*/
|
||||
|
|
@ -4416,6 +4421,7 @@ threaded_context_create(struct pipe_context *pipe,
|
|||
CTX_INIT(create_depth_stencil_alpha_state);
|
||||
CTX_INIT(bind_depth_stencil_alpha_state);
|
||||
CTX_INIT(delete_depth_stencil_alpha_state);
|
||||
CTX_INIT(link_shader);
|
||||
CTX_INIT(create_fs_state);
|
||||
CTX_INIT(bind_fs_state);
|
||||
CTX_INIT(delete_fs_state);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue