panfrost: Make the width argument to panfrost_new_texture 32 bits
authorIcecream95 <ixn@disroot.org>
Sun, 3 Jan 2021 02:16:55 +0000 (15:16 +1300)
committerMarge Bot <eric+marge@anholt.net>
Tue, 12 Jan 2021 19:06:00 +0000 (19:06 +0000)
commit473728a9b9ed0a0952fea2caf2f389f298de07f4
tree6e26789d4f6269b9511077ca3b6a97fb842a36bc
parentb9ecbc3272e82d71477ac67d6966b599ed8af7a4
panfrost: Make the width argument to panfrost_new_texture 32 bits

This is needed to represent a width of exactly 65536, which is
required by ARB_texture_buffer_object.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8300>
src/panfrost/lib/pan_texture.c
src/panfrost/lib/pan_texture.h