mesa/src/gallium/auxiliary/renderonly
Lucas Stach 0c71a19fe4 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: 848b49b288 ("gallium: add renderonly library")
CC: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2018-02-01 19:36:17 +01:00
..
renderonly.c renderonly: fix dumb BO allocation for non 32bpp formats 2018-02-01 19:36:17 +01:00
renderonly.h renderonly/etnaviv: stop importing resource from renderonly 2017-07-19 16:26:49 +02:00