[Bug 71254] Mesa crash on shaders that have large number of active uniforms.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 5 17:04:08 CET 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71254

--- Comment #3 from Ian Romanick <idr at freedesktop.org> ---
It appears the problem is that MAX_UNIFORMS is 4096.  We treat MAX_UNIFORMS as
meaning "maximum number of uniform vec4s," so the maximum number of uniform
components is 16k... which means you can legally have 16k uniform variables. 
At least some of our tables are sides for 4k uniform variables.

I suspect the fix may be as easy as adding '* 4' to all (or at least most) of
the places that use MAX_UNIFORMS to size arrays.

Perhaps one of the guys more familiar with the back-end will have a thought on
that.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20131105/b2161e06/attachment.html>


More information about the intel-3d-bugs mailing list