mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
svga: reformat some expressions in svga_texture_transfer_map()
Reviewed-by: Neha Bhende <bhenden@vmware.com>
This commit is contained in:
parent
10ef6ddcf9
commit
fe5a2704ec
1 changed files with 3 additions and 3 deletions
|
|
@ -431,9 +431,9 @@ svga_texture_transfer_map(struct pipe_context *pipe,
|
|||
debug_printf("%s: failed to allocate %u KB of DMA, "
|
||||
"splitting into %u x %u KB DMA transfers\n",
|
||||
__FUNCTION__,
|
||||
(nblocksy*st->base.stride + 1023)/1024,
|
||||
(nblocksy + st->hw_nblocksy - 1)/st->hw_nblocksy,
|
||||
(st->hw_nblocksy*st->base.stride + 1023)/1024);
|
||||
(nblocksy * st->base.stride + 1023) / 1024,
|
||||
(nblocksy + st->hw_nblocksy - 1) / st->hw_nblocksy,
|
||||
(st->hw_nblocksy * st->base.stride + 1023) / 1024);
|
||||
}
|
||||
|
||||
st->swbuf = MALLOC(nblocksy * st->base.stride * d);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue