summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2017-07-24 14:20:03 +0100
committerJose Fonseca <[email protected]>2017-07-25 17:18:04 +0100
commit8d655263cae8765895feec14ac0cd1ebcfdf6e3f (patch)
tree5fae1124c1be8ac80c39ecbea449935a90cb6a4d /m4
parentc3ea898932cb2fd408339bab103fc8ac63908320 (diff)
trace: Correct transfer box size calculation.
For textures we must not approximate the calculation with `stride * height`, or `slice_stride * depth`, as that can easily lead to buffer overflows, particularly for partial transfers. This should address the issue that Bruce Cherniak found and diagnosed. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions