Module: Mesa
Branch: main
Commit: 1a1747712c40e4ba29bdad3af2b27bf0aa56e107
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a1747712c40e4ba29bdad3af2b27bf0aa56e107

Author: Lionel Landwerlin <[email protected]>
Date:   Tue Nov 14 09:15:21 2023 +0200

anv: fix source_hash propagation with libraries

Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26247>

---

 src/intel/vulkan/anv_pipeline.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 0c6a9fbb822..5073b9c63e6 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -1854,6 +1854,7 @@ anv_graphics_pipeline_load_cached_shaders(struct 
anv_graphics_base_pipeline *pip
             continue;
 
          pipeline->shaders[s] = anv_shader_bin_ref(stages[s].imported.bin);
+         pipeline->source_hashes[s] = stages[s].source_hash;
          imported++;
       }
    }

Reply via email to