Commit 919bec1c authored by Eric Engestrom's avatar Eric Engestrom

anv: add unreachable() for VK_EXT_fragment_density_map

This silences the -Wswitch compiler warning.
Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
parent a0b14c1b
......@@ -918,6 +918,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_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT:
unreachable("VK_EXT_fragment_density_map is unsupported");
case VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV:
unreachable("VK_NV_shading_rate_image is unsupported");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment