lavapipe: propagate xfb info for pipeline library rasterization stages

Fixes: 202bbedc55 ("lavapipe: streamline xfb shader setup")

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17716>
This commit is contained in:
Mike Blumenkrantz 2022-07-22 11:57:21 -04:00 committed by Marge Bot
parent 430d1a20eb
commit 65c1504045
1 changed files with 2 additions and 0 deletions

View File

@ -1332,6 +1332,8 @@ lvp_graphics_pipeline_init(struct lvp_pipeline *pipeline,
pipeline->line_stipple_factor = p->line_stipple_factor;
pipeline->line_stipple_pattern = p->line_stipple_pattern;
pipeline->negative_one_to_one = p->negative_one_to_one;
pipeline->last_vertex = p->last_vertex;
memcpy(&pipeline->stream_output, &p->stream_output, sizeof(p->stream_output));
}
if (p->stages & VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_SHADER_BIT_EXT)
pipeline->force_min_sample = p->force_min_sample;