Skip to content

panfrost: Clamp uniform buffer size

Icecream95 requested to merge icecream95/mesa:ubo-clamp into master

Issue (57) for the ARB_uniform_buffer_object spec says:

"The uniform buffer could be larger than the amount of uniform block(s) data inside it."

This means we need to clamp the uniform buffer size in case it is bigger than what hardware supports.

Fixes the OpenGL 3.3 renderer of GZDoom.

Merge request reports

Loading