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:
committed by
Marge Bot
parent
739c8eb681
commit
e017eb3b58
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user