Module: Mesa Branch: main Commit: 49182271e3867c1cd866ac4a5f71b207c5e46945 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49182271e3867c1cd866ac4a5f71b207c5e46945
Author: Felix DeGrood <[email protected]> Date: Tue Jul 18 18:02:36 2023 +0000 mesa: propagate shader source sha1 from gl_shader to nir_shader Reviewed-by: Lionel Landwerlin <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23942> --- src/mesa/program/prog_to_nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/program/prog_to_nir.c b/src/mesa/program/prog_to_nir.c index efcb619332a..d3bb1db8e04 100644 --- a/src/mesa/program/prog_to_nir.c +++ b/src/mesa/program/prog_to_nir.c @@ -898,6 +898,7 @@ prog_to_nir(const struct gl_context *ctx, const struct gl_program *prog, s->info.separate_shader = true; s->info.io_lowered = false; s->info.internal = false; + memcpy(s->info.source_sha1, c->build.shader->info.source_sha1, 20); /* ARB_vp: */ if (prog->arb.IsPositionInvariant) {
