Fix potential issues with shader resources bindings when using custom post processing effect
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user