Skip to content

freedreno/a6xx: bump hard texture limit to 64K

David Heidelberg requested to merge dh/mesa:241014-maxout-freedreno-texture into main

What does this MR do and why?

freedreno/a6xx: bump hard texture limit to 64K

Spec says:

GL_MAX_TEXTURE_SIZE data returns one value. The value gives a rough estimate of the largest texture that the GL can handle. The value must be at least 1024. Use a proxy texture target such as GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2D to determine if a texture is too large. See glTexImage1D and glTexImage2D.

Tested with OpenCL tinygrad, allocating something like 50000x200 CL texture.

Signed-off-by: David Heidelberg david@ixit.cz

Merge request reports

Loading