asahi: Reserve more space to stop a command buffer
Let's be safer. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11815>
This commit is contained in:
parent
a9b8731fa1
commit
0eb4a4dd79
|
@ -411,10 +411,7 @@ agx_flush(struct pipe_context *pctx,
|
|||
return;
|
||||
|
||||
/* Finalize the encoder */
|
||||
uint8_t stop[] = {
|
||||
0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, // Stop
|
||||
};
|
||||
|
||||
uint8_t stop[5 + 64] = { 0x00, 0x00, 0x00, 0xc0, 0x00 };
|
||||
memcpy(ctx->batch->encoder_current, stop, sizeof(stop));
|
||||
|
||||
/* Emit the commandbuffer */
|
||||
|
|
Loading…
Reference in New Issue