[Mesa-dev] [PATCH v2] i965: Increase BRW_MAX_UBO to 14.
Ilia Mirkin
imirkin at alum.mit.edu
Mon Nov 30 19:23:25 PST 2015
On Mon, Nov 30, 2015 at 8:37 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> The NVIDIA binary driver and Intel's closed source driver both expose
> 14 here, rather than the GL minimum of 12. Let's follow suit.
>
> Without this, Shadow of Mordor fails to render correctly and triggers
> OpenGL errors:
>
> Mesa: User error: GL_INVALID_VALUE in glBindBufferBase(index=68)
> Mesa: User error: GL_INVALID_VALUE in glUniformBlockBinding(block binding 68 >= 60)
>
> There are 5 stages (VS, TCS, TES, GS, FS), and 12 * 5 = 60 is too small.
> 14 * 5 = 70 will work just fine.
6 actually, with CS...
-ilia
More information about the mesa-dev
mailing list