mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
asahi/decode: Check fewer zeroes after a command buffer
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
0b35a8f81a
commit
a9b8731fa1
1 changed files with 1 additions and 1 deletions
|
|
@ -392,7 +392,7 @@ agxdecode_cmd(const uint8_t *map, bool verbose)
|
|||
|
||||
return AGX_RECORD_LENGTH;
|
||||
} else if (map[0] == 0 && map[1] == 0 && map[2] == 0xC0 && map[3] == 0x00) {
|
||||
ASSERTED unsigned zero[16] = { 0 };
|
||||
ASSERTED unsigned zero[4] = { 0 };
|
||||
assert(memcmp(map + 4, zero, sizeof(zero)) == 0);
|
||||
return STATE_DONE;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue