mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 23:18:20 +02:00
v3dv: Fixes warning [-Wimplicit-fallthrough] in v3dvx_pipeline.c
Warning message: ../src/broadcom/vulkan/v3dvx_pipeline.c:60:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18204>
This commit is contained in:
parent
8d04a3d024
commit
c066c04598
1 changed files with 2 additions and 2 deletions
|
|
@ -56,9 +56,9 @@ blend_factor(VkBlendFactor factor, bool dst_alpha_one, bool *needs_constants)
|
|||
case VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR:
|
||||
case VK_BLEND_FACTOR_SRC1_ALPHA:
|
||||
case VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA:
|
||||
assert(!"Invalid blend factor: dual source blending not supported.");
|
||||
unreachable("Invalid blend factor: dual source blending not supported.");
|
||||
default:
|
||||
assert(!"Unknown blend factor.");
|
||||
unreachable("Unknown blend factor.");
|
||||
}
|
||||
|
||||
/* Should be handled by the switch, added to avoid a "end of non-void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue