On 30 January 2018 at 14:22, Lucas Stach <[email protected]> wrote: > 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.
Bikeshed: just use util_format_getblocksizebits()? getblocksize() internally just divides getblocksizebits by 8, so this is redundant. WIth that: Reviewed-by: Daniel Stone <[email protected]> Cheers, Daniel _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
