1
0
Fork 0
forked from wry/wry

vulkan: fix out pipeline cache

This commit is contained in:
Julian Orth 2025-09-08 17:57:09 +02:00
parent c402dd0153
commit ab81e4bd51

View file

@ -260,6 +260,7 @@ pub(super) struct TexPipelines {
pub(super) struct OutPipelineKey {
format: vk::Format,
eotf: Eotf,
has_color_management_data: bool,
}
impl VulkanDevice {
@ -508,6 +509,7 @@ impl VulkanRenderer {
let key = OutPipelineKey {
format,
eotf: bb_cd.eotf,
has_color_management_data,
};
let pipelines = &self.out_pipelines[fb_cd.eotf];
if let Some(pl) = pipelines.get(&key) {