d3d12: Support BGRA 555 and 565 formats

Reviewed-by: Bill Kristiansen <billkris@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13054>
This commit is contained in:
Jesse Natalie 2021-09-26 08:19:21 -07:00 committed by Marge Bot
parent d0bc4974fa
commit e0576ec148
2 changed files with 6 additions and 3 deletions

View File

@ -3848,7 +3848,6 @@ spec/ext_direct_state_access/named-buffers 15/flushmappednamedbufferrangeext: sk
spec/ext_direct_state_access/named-buffers 15/mapnamedbufferext: skip spec/ext_direct_state_access/named-buffers 15/mapnamedbufferext: skip
spec/ext_direct_state_access/named-buffers 15/mapnamedbufferrangeext: skip spec/ext_direct_state_access/named-buffers 15/mapnamedbufferrangeext: skip
spec/ext_direct_state_access/named-buffers 15/namedcopybuffersubdataext: skip spec/ext_direct_state_access/named-buffers 15/namedcopybuffersubdataext: skip
spec/ext_direct_state_access/renderbuffer/getnamedrenderbufferparameterivext: fail
spec/ext_disjoint_timer_query/simple: skip spec/ext_disjoint_timer_query/simple: skip
spec/ext_draw_instanced/ext_draw_instanced-drawarrays: skip spec/ext_draw_instanced/ext_draw_instanced-drawarrays: skip
spec/ext_external_objects/memory-object-api-errors: skip spec/ext_external_objects/memory-object-api-errors: skip
@ -4747,8 +4746,8 @@ wgl/wgl-sanity: skip
summary: summary:
name: results name: results
---- -------- ---- --------
pass: 13305 pass: 13306
fail: 533 fail: 532
crash: 67 crash: 67
skip: 4126 skip: 4126
timeout: 0 timeout: 0

View File

@ -108,6 +108,10 @@ static const DXGI_FORMAT formats[PIPE_FORMAT_COUNT] = {
[PIPE_FORMAT_R10G10B10A2_UINT] = DXGI_FORMAT_R10G10B10A2_UINT, [PIPE_FORMAT_R10G10B10A2_UINT] = DXGI_FORMAT_R10G10B10A2_UINT,
[PIPE_FORMAT_R10G10B10A2_UNORM] = DXGI_FORMAT_R10G10B10A2_UNORM, [PIPE_FORMAT_R10G10B10A2_UNORM] = DXGI_FORMAT_R10G10B10A2_UNORM,
[PIPE_FORMAT_B5G6R5_UNORM] = DXGI_FORMAT_B5G6R5_UNORM,
[PIPE_FORMAT_B5G5R5A1_UNORM] = DXGI_FORMAT_B5G5R5A1_UNORM,
[PIPE_FORMAT_B5G5R5X1_UNORM] = DXGI_FORMAT_B5G5R5A1_UNORM,
[PIPE_FORMAT_DXT1_RGB] = DXGI_FORMAT_BC1_UNORM, [PIPE_FORMAT_DXT1_RGB] = DXGI_FORMAT_BC1_UNORM,
[PIPE_FORMAT_DXT1_RGBA] = DXGI_FORMAT_BC1_UNORM, [PIPE_FORMAT_DXT1_RGBA] = DXGI_FORMAT_BC1_UNORM,
[PIPE_FORMAT_DXT3_RGBA] = DXGI_FORMAT_BC2_UNORM, [PIPE_FORMAT_DXT3_RGBA] = DXGI_FORMAT_BC2_UNORM,