mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
anv: suppress warning about unhandled image layout
Let's just be explicit that VK_NV_shading_rate_image is not supported.
Suggested-by: Jason Ekstrand <jason.ekstrand@intel.com>
Fixes: 6ee1709170 "vulkan: Update the XML and headers to 1.1.86"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
ae78489d3e
commit
7b0752fb10
1 changed files with 3 additions and 0 deletions
|
|
@ -920,6 +920,9 @@ anv_layout_to_aux_usage(const struct gen_device_info * const devinfo,
|
|||
|
||||
case VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR:
|
||||
unreachable("VK_KHR_shared_presentable_image is unsupported");
|
||||
|
||||
case VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV:
|
||||
unreachable("VK_NV_shading_rate_image is unsupported");
|
||||
}
|
||||
|
||||
/* If the layout isn't recognized in the exhaustive switch above, the
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue