Commit dcf20853 by Frank Liberato Committed by Commit Bot

Add fp16 support to KHR streams for DX11.

This CL exposes DXGI_FORMAT_R16G16B16A16_FLOAT as GL_RGBA16F. Bug: angleproject:4440 Change-Id: Icbc7b2d10a4c02946fb01711c01cc8c9b01e8f54 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2079197Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent 6ab0dbdf
......@@ -71,6 +71,9 @@ egl::Error GetGLDescFromTex(ID3D11Texture2D *const tex,
case DXGI_FORMAT_R16G16B16A16_UNORM:
planeFormats[0] = GL_RGBA16_EXT;
break;
case DXGI_FORMAT_R16G16B16A16_FLOAT:
planeFormats[0] = GL_RGBA16F;
break;
default:
return egl::EglBadParameter() << "Unsupported format";
......
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