mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
asahi: collapse unreachable condition
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26614>
This commit is contained in:
parent
09e46aa168
commit
4d48574bd7
1 changed files with 1 additions and 1 deletions
|
|
@ -3971,7 +3971,7 @@ agx_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info,
|
|||
out += AGX_VDM_STATE_LENGTH;
|
||||
|
||||
agx_pack(out, VDM_STATE_RESTART_INDEX, cfg) {
|
||||
cfg.value = ctx->gs ? BITFIELD_MASK(32) : info->restart_index;
|
||||
cfg.value = info->restart_index;
|
||||
}
|
||||
out += AGX_VDM_STATE_RESTART_INDEX_LENGTH;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue