radv: import the GS copy shader from a library if present
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18672>
This commit is contained in:

committed by
Marge Bot

parent
2fd3b0bceb
commit
c08ba6a76c
@@ -1630,6 +1630,12 @@ radv_graphics_pipeline_import_lib(struct radv_graphics_pipeline *pipeline,
|
|||||||
pipeline->base.shaders[s] = radv_shader_ref(lib->base.base.shaders[s]);
|
pipeline->base.shaders[s] = radv_shader_ref(lib->base.base.shaders[s]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Import the GS copy shader if present. */
|
||||||
|
if (lib->base.base.gs_copy_shader) {
|
||||||
|
assert(!pipeline->base.gs_copy_shader);
|
||||||
|
pipeline->base.gs_copy_shader = radv_shader_ref(lib->base.base.gs_copy_shader);
|
||||||
|
}
|
||||||
|
|
||||||
/* Import the PS epilog if present. */
|
/* Import the PS epilog if present. */
|
||||||
if (lib->base.ps_epilog) {
|
if (lib->base.ps_epilog) {
|
||||||
assert(!pipeline->ps_epilog);
|
assert(!pipeline->ps_epilog);
|
||||||
|
Reference in New Issue
Block a user