diff options
author | Eric Engestrom <[email protected]> | 2019-11-17 23:56:49 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-11-19 22:03:00 +0000 |
commit | 51e214c1db077c497ce66d3ada44d6a46fb8cf25 (patch) | |
tree | c6c5d96d1e1ce4ff153d768e10b0958616a69ec2 /src | |
parent | 99788de90956112936fd883c0ae4e351f6a7e2da (diff) |
anv: add missing "fall-through" annotation
CoverityID: 1455884
Fixes: c1c346f1667375e9330a ("anv: implement VK_KHR_separate_depth_stencil_layouts")
Signed-off-by: Eric Engestrom <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/anv_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index e96e04f621b..2e6ca82dabc 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -1184,6 +1184,7 @@ anv_layout_to_aux_usage(const struct gen_device_info * const devinfo, /* Rendering Layouts */ case VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL: assert(aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV); + /* fall-through */ case VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL_KHR: if (image->planes[plane].aux_usage == ISL_AUX_USAGE_NONE) { assert(image->samples == 1); |