gallium: drop pipe_shader_state_from_nir
It is a bad api and now unused. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26272>
This commit is contained in:
committed by
Marge Bot
parent
2e56be8e34
commit
301f57a17c
@@ -314,17 +314,6 @@ pipe_shader_state_from_tgsi(struct pipe_shader_state *state,
|
||||
memset(&state->stream_output, 0, sizeof(state->stream_output));
|
||||
}
|
||||
|
||||
static inline void
|
||||
pipe_shader_state_from_nir(struct pipe_shader_state *state,
|
||||
void *nir)
|
||||
{
|
||||
state->type = PIPE_SHADER_IR_NIR;
|
||||
state->ir.nir = nir;
|
||||
state->tokens = NULL;
|
||||
memset(&state->stream_output, 0, sizeof(state->stream_output));
|
||||
}
|
||||
|
||||
|
||||
struct pipe_stencil_state
|
||||
{
|
||||
unsigned enabled:1; /**< stencil[0]: stencil enabled, stencil[1]: two-side enabled */
|
||||
|
||||
Reference in New Issue
Block a user