post-processing: rework gamma correction (#1756)

This commit is contained in:
setepenre
2024-12-22 16:18:07 +01:00
committed by GitHub
parent ab5240d8d2
commit 8a409d86d4
2 changed files with 8 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ void Presenter::CreatePostProcessPipeline() {
const auto& fs_module =
Vulkan::Compile(pp_shaders[1], vk::ShaderStageFlagBits::eFragment, instance.GetDevice());
ASSERT(fs_module);
Vulkan::SetObjectName(instance.GetDevice(), vs_module, "post_process.frag");
Vulkan::SetObjectName(instance.GetDevice(), fs_module, "post_process.frag");
const std::array shaders_ci{
vk::PipelineShaderStageCreateInfo{