mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-30 21:54:16 +08:00
zink: document requirement of VK_EXT_custom_border_color
Without this extension, we misrender when custom border colors are used. Let's document this, and emit a warning when the extension is missing. Reviewed-by: Joshua Ashton <joshua@froggi.es> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10316>
This commit is contained in:
parent
a144fa608d
commit
ff007afce2
@ -37,6 +37,7 @@ Here's a list of those requirements:
|
||||
* Device extensions:
|
||||
|
||||
* `VK_KHR_maintenance1`_
|
||||
* `VK_EXT_custom_border_color`
|
||||
|
||||
In addition to this, `VK_KHR_external_memory`_ is required to support the
|
||||
DRI code-path.
|
||||
|
@ -1432,7 +1432,8 @@ check_base_requirements(struct zink_screen *screen)
|
||||
!screen->info.feats.features.shaderClipDistance ||
|
||||
!(screen->info.feats12.scalarBlockLayout ||
|
||||
screen->info.have_EXT_scalar_block_layout) ||
|
||||
!screen->info.have_KHR_maintenance1) {
|
||||
!screen->info.have_KHR_maintenance1 ||
|
||||
!screen->info.have_EXT_custom_border_color) {
|
||||
fprintf(stderr, "WARNING: The Vulkan device doesn't support "
|
||||
"the base Zink requirements, some incorrect rendering "
|
||||
"might occur\n");
|
||||
|
Loading…
Reference in New Issue
Block a user