radv: stop hashing radv_pipeline_key for compute/rt pipelines

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27036>
This commit is contained in:
Samuel Pitoiset
2024-01-12 13:50:21 +01:00
committed by Marge Bot
parent 739c8eb681
commit e017eb3b58
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ radv_compute_pipeline_compile(struct radv_compute_pipeline *pipeline, struct rad
radv_pipeline_stage_init(pStage, pipeline_layout, &pipeline_key->stage_info[MESA_SHADER_COMPUTE], &cs_stage);
radv_hash_shaders(device, hash, &cs_stage, 1, pipeline_layout, pipeline_key);
radv_hash_shaders(device, hash, &cs_stage, 1, pipeline_layout, NULL);
pipeline->base.pipeline_hash = *(uint64_t *)hash;
+1 -1
View File
@@ -288,7 +288,7 @@ radv_init_rt_stage_hashes(struct radv_device *device, const VkRayTracingPipeline
radv_pipeline_stage_init(&pCreateInfo->pStages[idx], pipeline_layout, &key->stage_info[s], &stage);
radv_hash_shaders(device, stages[idx].sha1, &stage, 1, NULL, key);
radv_hash_shaders(device, stages[idx].sha1, &stage, 1, NULL, NULL);
}
}