The latest improvement to the RadeonSI Gallium3D driver by prominent AMD Mesa developer Marek Olšák is enabling support for up to 64K x 64K textures with RDNA4 GPUs.
Current generation RDNA4 GPUs can handle textures up to a size of 64K x 64K and for Mesa 26.0 the proper handling is now in place for supporting these massive textures. In order to accommodate the larger textures up to 64K per dimension, many of the width and height function arguments and other handling had to be changed from 16 to 32-bits among other structure changes for the larger textures and viewport. Prior to RDNA4 GPUs was a 32K limit. This work for the RadeonSI driver also resulted in adjustments to Mesa’s Gallium3D itself for being able to accommodate the larger texture sizes.
After 23 patches in this merge request, the support for RDNA4’s 64K x 64K textures should now be wired up for Gallium3D / RadeonSI with next quarter’s Mesa 26.0 stable release.
