Commit d042fba4 by Jamie Madill Committed by Commit Bot

Unset conflicting DSVs in StateManager11.

This was showing up in BlitFramebufferPerf.Run/d3d11_depth_2_samples. It would only show up when running the perf tests with the D3D11 Debug layer enabled. BUG=angleproject:2188 Change-Id: I71f310641d4a4c017e8c4c907c2bdc61019978a4 Reviewed-on: https://chromium-review.googlesource.com/724962Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 0a6752e3
......@@ -1454,6 +1454,11 @@ void StateManager11::setRenderTargets(ID3D11RenderTargetView **rtvs,
anyDirty = anyDirty || unsetConflictingView(rtvs[rtvIndex]);
}
if (dsv)
{
anyDirty = anyDirty || unsetConflictingView(dsv);
}
if (anyDirty)
{
mInternalDirtyBits.set(DIRTY_BIT_TEXTURE_AND_SAMPLER_STATE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment