diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2015-09-08 15:41:11 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2015-09-10 02:26:26 -0700 |
commit | bf58a2c362d5afdba512f40b3eb300154201c7f0 (patch) | |
tree | 2aeb857a724c3efaae707836f3908612072b3b9b /docs/relnotes/10.5.8.html | |
parent | 74b86b971f3bf9b0482341b07c1cbc2e520fb1d0 (diff) |
Our old value of 16384 is the minimum value. DirectX apparently
requires 65536 at a minimum; that's also what nVidia and the Intel
Windows driver advertise. AMD advertises MAX_INT.
Ilia Mirkin noticed that "Shadow Warrior" uses UBOs larger than 16k
on Nouveau, which advertises 65536 bytes for this limit. Traces
captured on Nouveau don't work on i965 because our lower limit causes
the GLSL linker to reject the captured shaders. While this isn't
important in and of itself, it does suggest that raising the limit
would be beneficial.
We can read linear buffers up to 2^27 bytes in size, so raising this
should be safe; we could probably even go larger. For now, matching
nVidia and Intel/Windows seems like a good plan.
We have to reinitialize MaxCombinedUniformComponents as core Mesa will
have set it based on a stale value for MaxUniformBlockSize.
According to Tapani, there's an unreleased game that asserts on this.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'docs/relnotes/10.5.8.html')
0 files changed, 0 insertions, 0 deletions