Fix potential issues with shader resources bindings when using custom post processing effect

This commit is contained in:
Wojtek Figat
2024-03-20 12:24:35 +01:00
parent 70b2e4aa5a
commit 3939444e05

View File

@@ -266,6 +266,8 @@ void RenderList::RunPostFxPass(GPUContext* context, RenderContext& renderContext
{
if (fx->Location == locationB)
{
context->ResetSR();
context->ResetUA();
if (fx->UseSingleTarget || output == nullptr)
{
fx->Render(context, renderContext, input, nullptr);