fixed usage of the wrong tone mapping pipeline in the CRP

This commit is contained in:
myT 2024-04-10 20:06:13 +02:00
parent f43c18e86e
commit 156c95f9a7

View file

@ -62,7 +62,7 @@ void ToneMap::Init()
GraphicsPipelineDesc desc("Inverse Tone Map");
MakeFullScreenPipeline(desc, ShaderByteCode(g_tone_map_inverse_ps));
desc.AddRenderTarget(0, crp.renderTargetFormat);
pipeline = CreateGraphicsPipeline(desc);
inversePipeline = CreateGraphicsPipeline(desc);
}
}