Commit ac93b7ca by Olli Etuaho Committed by Commit Bot

D3D: Fix RGB5_A1 texture upload from PBO failure on Windows 10

Failure is consistently seen in the dEQP tests on Windows 10 on NVIDIA and Intel drivers, where creating an SRV from the buffer in the right format fails. Disable the fast copy path for this format similarly to how it's already disabled for some other formats. BUG=angleproject:1095 TEST=dEQP-GLES3.functional.texture.specification.teximage2d_pbo.rgb5* Change-Id: I7a1cd15c2cd130c9e8a637457c201778f157333b Reviewed-on: https://chromium-review.googlesource.com/341170Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
parent f14f795e
......@@ -3619,6 +3619,13 @@ bool Renderer11::supportsFastCopyBufferToTexture(GLenum internalFormat) const
return false;
}
// Buffer SRV creation in this format was not working on Windows 10, repro at least on Intel
// and NVIDIA.
if (internalFormat == GL_RGB5_A1)
{
return false;
}
return true;
}
......
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