mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 13:20:14 +01:00
v3d: update fallthrough comments
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8438>
This commit is contained in:
parent
4ec956a2b0
commit
9151dab967
1 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ v3d_logicop(nir_builder *b, int logicop_func,
|
|||
return nir_imm_int(b, ~0);
|
||||
default:
|
||||
fprintf(stderr, "Unknown logic op %d\n", logicop_func);
|
||||
/* FALLTHROUGH */
|
||||
FALLTHROUGH;
|
||||
case PIPE_LOGICOP_COPY:
|
||||
return src;
|
||||
}
|
||||
|
|
@ -103,7 +103,7 @@ v3d_nir_get_swizzled_channel(nir_builder *b, nir_ssa_def **srcs, int swiz)
|
|||
default:
|
||||
case PIPE_SWIZZLE_NONE:
|
||||
fprintf(stderr, "warning: unknown swizzle\n");
|
||||
/* FALLTHROUGH */
|
||||
FALLTHROUGH;
|
||||
case PIPE_SWIZZLE_0:
|
||||
return nir_imm_float(b, 0.0);
|
||||
case PIPE_SWIZZLE_1:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue