mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
zink: support PIPE_FORMAT_X24S8_UINT
enables ARB_texture_view Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8630>
This commit is contained in:
parent
264a5b1d15
commit
96d7555770
1 changed files with 5 additions and 0 deletions
|
|
@ -837,6 +837,11 @@ zink_get_format(struct zink_screen *screen, enum pipe_format format)
|
|||
!screen->info.format_4444_feats.formatA4R4G4B4))
|
||||
return VK_FORMAT_UNDEFINED;
|
||||
|
||||
if (format == PIPE_FORMAT_X24S8_UINT)
|
||||
/* valid when using aspects to extract stencil,
|
||||
* fails format test because it's emulated */
|
||||
return VK_FORMAT_X8_D24_UNORM_PACK32;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue