mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 23:40:10 +01:00
vc4: Ignore non-address bits of the offset for load/store.
These only get used for full buffer dumps, which we don't support yet anyway.
This commit is contained in:
parent
a894898255
commit
2cbdbeb4fa
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ validate_loadstore_tile_buffer_general(VALIDATE_ARGS)
|
|||
if (!vc4_use_handle(exec, 0, VC4_MODE_RENDER, &fbo))
|
||||
return -EINVAL;
|
||||
|
||||
offset = *(uint32_t *)(untrusted + 2);
|
||||
offset = *(uint32_t *)(untrusted + 2) & ~0xf;
|
||||
|
||||
if (!check_tex_size(exec, fbo, offset,
|
||||
((packet_b0 &
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue