mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
ac/nir: remove dead code in handle_vs_outputs_post()
The memcpy can't be reached because the condition is always false. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
c63d8d0284
commit
724136d590
1 changed files with 1 additions and 8 deletions
|
|
@ -6027,14 +6027,7 @@ handle_vs_outputs_post(struct nir_to_llvm_context *ctx,
|
|||
continue;
|
||||
|
||||
si_llvm_init_export_args(ctx, values, target, &args);
|
||||
|
||||
if (target >= V_008DFC_SQ_EXP_POS &&
|
||||
target <= (V_008DFC_SQ_EXP_POS + 3)) {
|
||||
memcpy(&pos_args[target - V_008DFC_SQ_EXP_POS],
|
||||
&args, sizeof(args));
|
||||
} else {
|
||||
ac_build_export(&ctx->ac, &args);
|
||||
}
|
||||
ac_build_export(&ctx->ac, &args);
|
||||
}
|
||||
|
||||
if (export_prim_id) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue