ra_pl: drop deprecated cached_program param

This was deprecated in api version 322 which earlier than the current
6.338 version that mpv depends on. So remove it.
This commit is contained in:
Dudemanguy 2023-11-03 11:43:29 -05:00
parent ed4d21d401
commit 784ec0066f
1 changed files with 0 additions and 7 deletions

View File

@ -450,8 +450,6 @@ static struct ra_renderpass *renderpass_create_pl(struct ra *ra,
.glsl_shader = params->type == RA_RENDERPASS_TYPE_COMPUTE
? params->compute_shader
: params->frag_shader,
.cached_program = params->cached_program.start,
.cached_program_len = params->cached_program.len,
};
struct pl_blend_params blend_params;
@ -505,11 +503,6 @@ static struct ra_renderpass *renderpass_create_pl(struct ra *ra,
.priv = talloc_steal(pass, priv),
};
pass->params.cached_program = (struct bstr) {
.start = (void *) priv->pass->params.cached_program,
.len = priv->pass->params.cached_program_len,
};
// fall through
error:
talloc_free(tmp);