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>
This commit is contained in:
parent
b9ecbc3272
commit
473728a9b9
|
@ -402,7 +402,7 @@ void
|
|||
panfrost_new_texture(const struct panfrost_device *dev,
|
||||
const struct pan_image_layout *layout,
|
||||
void *out,
|
||||
uint16_t width, uint16_t height,
|
||||
unsigned width, uint16_t height,
|
||||
uint16_t depth, uint16_t array_size,
|
||||
enum pipe_format format,
|
||||
enum mali_texture_dimension dim,
|
||||
|
|
|
@ -134,7 +134,7 @@ void
|
|||
panfrost_new_texture(const struct panfrost_device *dev,
|
||||
const struct pan_image_layout *layout,
|
||||
void *out,
|
||||
uint16_t width, uint16_t height,
|
||||
unsigned width, uint16_t height,
|
||||
uint16_t depth, uint16_t array_size,
|
||||
enum pipe_format format,
|
||||
enum mali_texture_dimension dim,
|
||||
|
|
Loading…
Reference in New Issue