vulkan: fix out pipeline cache
This commit is contained in:
parent
c402dd0153
commit
ab81e4bd51
1 changed files with 2 additions and 0 deletions
|
|
@ -260,6 +260,7 @@ pub(super) struct TexPipelines {
|
||||||
pub(super) struct OutPipelineKey {
|
pub(super) struct OutPipelineKey {
|
||||||
format: vk::Format,
|
format: vk::Format,
|
||||||
eotf: Eotf,
|
eotf: Eotf,
|
||||||
|
has_color_management_data: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl VulkanDevice {
|
impl VulkanDevice {
|
||||||
|
|
@ -508,6 +509,7 @@ impl VulkanRenderer {
|
||||||
let key = OutPipelineKey {
|
let key = OutPipelineKey {
|
||||||
format,
|
format,
|
||||||
eotf: bb_cd.eotf,
|
eotf: bb_cd.eotf,
|
||||||
|
has_color_management_data,
|
||||||
};
|
};
|
||||||
let pipelines = &self.out_pipelines[fb_cd.eotf];
|
let pipelines = &self.out_pipelines[fb_cd.eotf];
|
||||||
if let Some(pl) = pipelines.get(&key) {
|
if let Some(pl) = pipelines.get(&key) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue