From e017eb3b5893468546ccbfad3add5191fd8ec474 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 12 Jan 2024 13:50:21 +0100 Subject: [PATCH] radv: stop hashing radv_pipeline_key for compute/rt pipelines Signed-off-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_pipeline_compute.c | 2 +- src/amd/vulkan/radv_pipeline_rt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_pipeline_compute.c b/src/amd/vulkan/radv_pipeline_compute.c index eec5937cf6f..8d1ae45898c 100644 --- a/src/amd/vulkan/radv_pipeline_compute.c +++ b/src/amd/vulkan/radv_pipeline_compute.c @@ -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; diff --git a/src/amd/vulkan/radv_pipeline_rt.c b/src/amd/vulkan/radv_pipeline_rt.c index 9821663eec6..a30d5f6718b 100644 --- a/src/amd/vulkan/radv_pipeline_rt.c +++ b/src/amd/vulkan/radv_pipeline_rt.c @@ -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); } }