mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
vulkan/pipeline: don't consider capture-replay flag for shader hashing
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Michael Cheng <michael.cheng@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33022>
This commit is contained in:
parent
1112c1461d
commit
5758f3f5ea
1 changed files with 12 additions and 5 deletions
|
|
@ -3027,12 +3027,19 @@ vk_get_rt_pipeline_compile_info(struct vk_rt_pipeline_compile_info *info,
|
|||
};
|
||||
|
||||
if (bin_info == NULL || bin_info->binaryCount == 0) {
|
||||
vk_pipeline_hash_precomp_shader_stage(device, pipeline_flags,
|
||||
pCreateInfo->pNext, stage_info,
|
||||
&info->stages[i]);
|
||||
vk_pipeline_hash_precomp_shader_stage(
|
||||
device,
|
||||
pipeline_flags &
|
||||
~VK_PIPELINE_CREATE_2_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR,
|
||||
pCreateInfo->pNext, stage_info,
|
||||
&info->stages[i]);
|
||||
|
||||
vk_pipeline_hash_rt_shader(device, pipeline_flags, pipeline_layout,
|
||||
&info->stages[i]);
|
||||
vk_pipeline_hash_rt_shader(
|
||||
device,
|
||||
pipeline_flags &
|
||||
~VK_PIPELINE_CREATE_2_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR,
|
||||
pipeline_layout,
|
||||
&info->stages[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue