Commit ab989891 by Austin Kinross Committed by Geoff Lang

Disable shared texture support on D3D11 FL9_3

BUG=angle:858 Change-Id: I0fe3baf811d561584f7d24f6da665c6934e32b2a Reviewed-on: https://chromium-review.googlesource.com/239272Tested-by: 's avatarAustin Kinross <aukinros@microsoft.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent ce5d66e8
...@@ -2046,7 +2046,8 @@ bool Renderer11::getShareHandleSupport() const ...@@ -2046,7 +2046,8 @@ bool Renderer11::getShareHandleSupport() const
// We only currently support share handles with BGRA surfaces, because // We only currently support share handles with BGRA surfaces, because
// chrome needs BGRA. Once chrome fixes this, we should always support them. // chrome needs BGRA. Once chrome fixes this, we should always support them.
// PIX doesn't seem to support using share handles, so disable them. // PIX doesn't seem to support using share handles, so disable them.
return getRendererExtensions().textureFormatBGRA8888 && !gl::perfActive(); // Also disable share handles on Feature Level 9_3, since it doesn't support share handles on RGBA8 textures/swapchains.
return getRendererExtensions().textureFormatBGRA8888 && !gl::perfActive() && !(mFeatureLevel <= D3D_FEATURE_LEVEL_9_3);
} }
bool Renderer11::getPostSubBufferSupport() const bool Renderer11::getPostSubBufferSupport() const
......
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