diff options
author | Eric Engestrom <[email protected]> | 2018-12-04 13:19:20 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-12-04 16:22:55 +0000 |
commit | 919bec1c4779cd01948f1df8dc3dc153aa9bacce (patch) | |
tree | 37e2c454dec9c4e8e2a0fe2e5084c258781fe275 /src/intel/vulkan | |
parent | a0b14c1b0255578fdabf8492295e74124d5862ed (diff) |
anv: add unreachable() for VK_EXT_fragment_density_map
This silences the -Wswitch compiler warning.
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/anv_image.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 4003ac28444..1748e9230d7 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -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"); } |