anv: set pipeline flags correct for imported libs

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 3d49cdb71e ("anv: implement VK_EXT_graphics_pipeline_library")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
(cherry picked from commit 371b7a9b0d)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32730>
This commit is contained in:
Lionel Landwerlin 2024-12-02 23:08:53 +02:00 committed by Dylan Baker
parent dc04f5ca28
commit 9319df3b07
2 changed files with 2 additions and 1 deletions

View file

@ -434,7 +434,7 @@
"description": "anv: set pipeline flags correct for imported libs",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "3d49cdb71ee8cb07ca922b9ffa15edd27627959c",
"notes": null

View file

@ -3053,6 +3053,7 @@ anv_graphics_pipeline_import_lib(struct anv_graphics_base_pipeline *pipeline,
continue;
stages[s].stage = s;
stages[s].pipeline_flags = pipeline->base.flags;
stages[s].feedback_idx = shader_count + lib->base.feedback_index[s];
stages[s].robust_flags = lib->base.robust_flags[s];