lavapipe: fix pipeline sanitizing.

This isn't needed for fragment shader.

Cc: mesa-stable
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23066>
This commit is contained in:
Dave Airlie
2023-05-24 13:03:26 +10:00
parent 954e56bb18
commit cbb8632991

View File

@@ -835,6 +835,8 @@ lvp_graphics_pipeline_init(struct lvp_pipeline *pipeline,
pipeline->line_rectangular = p->line_rectangular;
memcpy(pipeline->shaders, p->shaders, sizeof(struct lvp_shader) * 4);
lvp_forall_gfx_stage(i) {
if (i == MESA_SHADER_FRAGMENT)
continue;
copy_shader_sanitized(&pipeline->shaders[i], &p->shaders[i]);
}
}