Skip to content

Commit ca58bc2

Browse files
alyssarosenzweigMarge Bot
authored andcommitted
asahi: drop silly else
default Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
1 parent 6ffbf77 commit ca58bc2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/gallium/drivers/asahi/agx_state.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3797,8 +3797,6 @@ agx_encode_state(struct agx_batch *batch, uint8_t *out, bool is_lines,
37973797
agx_ppp_push(&ppp, FRAGMENT_OCCLUSION_QUERY, cfg) {
37983798
if (ctx->active_queries && ctx->occlusion_query) {
37993799
cfg.index = agx_get_oq_index(batch, ctx->occlusion_query);
3800-
} else {
3801-
cfg.index = 0;
38023800
}
38033801
}
38043802
}

0 commit comments

Comments
 (0)