aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2018-01-30 15:11:35 +0100
committerLucas Stach <[email protected]>2018-02-01 19:36:17 +0100
commit0c71a19fe4368beaaf7ac676403b3079ad658890 (patch)
tree6766206041aa30b14b4e0cc6cc67ea34c3d9499a /src/mesa/main
parent85ec7abc3faf67450e829df25cf2ec81addff075 (diff)
renderonly: fix dumb BO allocation for non 32bpp formats
Take into account the resource format, instead of applying a hardcoded 32bpp. This not only over-allocates 16bpp formats, but also results in a wrong stride being filled into the handle. Fixes: 848b49b288f ("gallium: add renderonly library") CC: <[email protected]> Signed-off-by: Lucas Stach <[email protected]> Reviewed-by: Philipp Zabel <[email protected]> Reviewed-by: Daniel Stone <[email protected]>
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions