mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 20:50:44 +02:00
winsys/gdi: Update is_displaytarget_format_supported to reflect reality
Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Neha Bhende <bhenden@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25979>
This commit is contained in:
parent
823d40db4a
commit
d4ed1ea31e
1 changed files with 4 additions and 0 deletions
|
|
@ -78,6 +78,10 @@ gdi_sw_is_displaytarget_format_supported( struct sw_winsys *ws,
|
|||
switch(format) {
|
||||
case PIPE_FORMAT_B8G8R8X8_UNORM:
|
||||
case PIPE_FORMAT_B8G8R8A8_UNORM:
|
||||
case PIPE_FORMAT_B5G6R5_UNORM:
|
||||
case PIPE_FORMAT_B5G5R5A1_UNORM:
|
||||
case PIPE_FORMAT_B4G4R4A4_UNORM:
|
||||
case PIPE_FORMAT_R10G10B10A2_UNORM:
|
||||
return true;
|
||||
|
||||
/* TODO: Support other formats possible with BMPs, as described in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue