summaryrefslogtreecommitdiffstats
path: root/src/mapi/u_current.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-06 19:21:26 +0200
committerAndres Gomez <[email protected]>2017-06-28 20:15:03 +0300
commitfae8aeae44a599beb6bd1e955e483895f583cc79 (patch)
tree59dfe86aef2bf7a1171bcfde3c37e0f72a14b738 /src/mapi/u_current.c
parent604304d528273ecd5d99f14bb3bbb6e30981ee44 (diff)
gallium/radeon/gfx9: fix PBO texture uploads to compressed textures
st/mesa creates a surface that reinterprets the compressed blocks as RGBA16UI or RGBA32UI. We have to adjust width0 & height0 accordingly to avoid out-of-bounds memory accesses by CB. Cc: 17.1 <[email protected]> Reviewed-by: Marek Olšák <[email protected]> (cherry picked from commit 25e5534734b7de2a2359c42eeff5fd0c3c0507da)
Diffstat (limited to 'src/mapi/u_current.c')
0 files changed, 0 insertions, 0 deletions