diff --git a/src/freedreno/vulkan/tu_pipeline.cc b/src/freedreno/vulkan/tu_pipeline.cc index 5a3dc51bc91..c3514e055bc 100644 --- a/src/freedreno/vulkan/tu_pipeline.cc +++ b/src/freedreno/vulkan/tu_pipeline.cc @@ -1483,6 +1483,8 @@ tu_hash_shaders(unsigned char *hash, } } _mesa_sha1_update(&ctx, &state, sizeof(state)); + enum ir3_shader_debug ir3_debug_key = ir3_shader_debug; + _mesa_sha1_update(&ctx, &ir3_debug_key, sizeof(ir3_debug_key)); _mesa_sha1_final(&ctx, hash); } @@ -1501,6 +1503,8 @@ tu_hash_compute(unsigned char *hash, _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1)); tu_hash_stage(&ctx, pipeline_flags, stage, NULL, key); + enum ir3_shader_debug ir3_debug_key = ir3_shader_debug; + _mesa_sha1_update(&ctx, &ir3_debug_key, sizeof(ir3_debug_key)); _mesa_sha1_final(&ctx, hash); }