radeonsi: update fallthrough comments

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7747>
This commit is contained in:
Pierre-Eric Pelloux-Prayer
2020-11-24 11:28:07 +01:00
parent 4442f8eda3
commit ead225bb6f
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ void si_init_resource_fields(struct si_screen *sscreen, struct si_resource *res,
switch (res->b.b.usage) {
case PIPE_USAGE_STREAM:
res->flags = RADEON_FLAG_GTT_WC;
/* fall through */
FALLTHROUGH;
case PIPE_USAGE_STAGING:
/* Transfers are likely to occur more often with these
* resources. */
@@ -126,7 +126,7 @@ void si_init_resource_fields(struct si_screen *sscreen, struct si_resource *res,
res->flags |= RADEON_FLAG_GTT_WC;
break;
}
/* fall through */
FALLTHROUGH;
case PIPE_USAGE_DEFAULT:
case PIPE_USAGE_IMMUTABLE:
default:
+2 -2
View File
@@ -928,7 +928,7 @@ static void si_query_hw_do_emit_stop(struct si_context *sctx, struct si_query_hw
break;
case PIPE_QUERY_TIME_ELAPSED:
va += 8;
/* fall through */
FALLTHROUGH;
case PIPE_QUERY_TIMESTAMP:
si_cp_release_mem(sctx, cs, V_028A90_BOTTOM_OF_PIPE_TS, 0, EOP_DST_SEL_MEM, EOP_INT_SEL_NONE,
EOP_DATA_SEL_TIMESTAMP, NULL, va, 0, query->b.type);
@@ -1223,7 +1223,7 @@ static void si_get_hw_query_params(struct si_context *sctx, struct si_query_hw *
case PIPE_QUERY_SO_OVERFLOW_ANY_PREDICATE:
params->pair_count = SI_MAX_STREAMS;
params->pair_stride = 32;
/* fallthrough */
FALLTHROUGH;
case PIPE_QUERY_SO_OVERFLOW_PREDICATE:
params->start_offset = 0;
params->end_offset = 16;
@@ -277,7 +277,7 @@ void si_llvm_streamout_store_output(struct si_shader_context *ctx, LLVMValueRef
}
/* as v4i32 (aligned to 4) */
out[3] = LLVMGetUndef(ctx->ac.i32);
/* fall through */
FALLTHROUGH;
case 4: /* as v4i32 */
vdata = ac_build_gather_values(&ctx->ac, out, util_next_power_of_two(num_comps));
break;