mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 12:50:12 +01:00
asahi: quelch gcc warning
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
parent
b39de8bb4a
commit
4e8a42645b
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ agx_draw_vbo_from_xfb(struct pipe_context *pctx,
|
|||
struct agx_streamout_target *so =
|
||||
agx_so_target(indirect->count_from_stream_output);
|
||||
|
||||
unsigned offset_B;
|
||||
unsigned offset_B = 0;
|
||||
pipe_buffer_read(pctx, so->offset, 0, 4, &offset_B);
|
||||
|
||||
unsigned count = offset_B / so->stride;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue