lavapipe: create gfx gallium csos at pipeline bind
this should minimize pipeline creation time and make fast-linking "fast" Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21051>
This commit is contained in:

committed by
Marge Bot

parent
6f0303ba76
commit
408606af02
@@ -870,7 +870,7 @@ lvp_graphics_pipeline_init(struct lvp_pipeline *pipeline,
|
||||
pipeline->line_rectangular = true;
|
||||
lvp_pipeline_xfb_init(pipeline);
|
||||
}
|
||||
if (!pipeline->library)
|
||||
if (!libstate && !pipeline->library)
|
||||
lvp_pipeline_shaders_compile(pipeline);
|
||||
|
||||
if (!pipeline->library && !pipeline->pipeline_nir[MESA_SHADER_FRAGMENT]) {
|
||||
|
Reference in New Issue
Block a user