mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 03:50:13 +01:00
aubinator: Multiply count by 4 to compute buffer sizes
The count field is in terms of dwords and not bytes. In
7d4007d58a, I fixed one instance
of this but missed another.
This commit is contained in:
parent
2e746bc63d
commit
589e9db23f
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ get_gen_batch_bo(void *user_data, uint64_t address)
|
|||
{
|
||||
for (int s = 0; s < MAX_SECTIONS; s++) {
|
||||
if (sections[s].gtt_offset <= address &&
|
||||
address < sections[s].gtt_offset + sections[s].count) {
|
||||
address < sections[s].gtt_offset + sections[s].count * 4) {
|
||||
return (struct gen_batch_decode_bo) {
|
||||
.addr = sections[s].gtt_offset,
|
||||
.map = sections[s].data,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue