https://bugs.freedesktop.org/show_bug.cgi?id=94835
Bug ID: 94835 Summary: Increase fragment shader sample limits from 16 to 32 (AMD Linux - Mesa/RadeonSi) Product: Mesa Version: git Hardware: All OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: esmith@feralinteractive.com QA Contact: dri-devel@lists.freedesktop.org
Please increase fragment shader sample limits from 16 to 32. This is causing serious issues with Company Of Heroes 2 as the engine needs more than 16 samplers to correctly render the floor.
Please note: Mesa support 32 samplers with their Intel drivers, but not AMD. See GL_MAX_TEXTURE_IMAGE_UNITS_ARB in https://people.freedesktop.org/~imirkin/glxinfo/glxinfo.html
Feral can provide a Steam key to active Mesa engineers working on this issue if that would help their progress. YOU should be abel to use Intel Mesa as a reference as that draws correctly as it has a higher texture sampler limit.
https://bugs.freedesktop.org/show_bug.cgi?id=94835
Edwin Smith esmith@feralinteractive.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=94705, | |https://bugs.freedesktop.or | |g/show_bug.cgi?id=91951 Blocks| |94705
https://bugs.freedesktop.org/show_bug.cgi?id=94835
--- Comment #1 from Edwin Smith esmith@feralinteractive.com --- Added links to:
94705 - CoH2 specific bug logged by an end user showing the side effect if the sampler limit is reached on AMD.
91951 - Unsure if exactly the same issue but potentially a similar root cause. This was logged agains ARMA 3 developer by another developer so I have no insight other than finding the bug when looking for duplicates before logging.
https://bugs.freedesktop.org/show_bug.cgi?id=94835
--- Comment #2 from Ilia Mirkin imirkin@alum.mit.edu --- (In reply to Edwin Smith from comment #0)
Feral can provide a Steam key to active Mesa engineers working on this issue if that would help their progress.
A little bit off-topic, but would such a key be provided for people working on drivers other than radeonsi? [r600 and nvc0 come to mind]
YOU should be abel to use Intel Mesa as a reference as that draws correctly as it has a higher texture sampler limit.
By the way, that's only true for Haswell and newer. Ivybridge (gen7) is limited to 16, at least on Mesa.
https://bugs.freedesktop.org/show_bug.cgi?id=94835
--- Comment #3 from Nicolai Hähnle nhaehnle@gmail.com --- I have a preliminary patch set for this, but I still need to put it through its testing paces.
https://bugs.freedesktop.org/show_bug.cgi?id=94835
--- Comment #4 from Edwin Smith esmith@feralinteractive.com --- (In reply to Ilia Mirkin from comment #2)
(In reply to Edwin Smith from comment #0)
Feral can provide a Steam key to active Mesa engineers working on this issue if that would help their progress.
A little bit off-topic, but would such a key be provided for people working on drivers other than radeonsi? [r600 and nvc0 come to mind]
Any reasonable request from an engineer working on this issue requesting a key to help with their efforts will be considered.
https://bugs.freedesktop.org/show_bug.cgi?id=94835
Nicolai Hähnle nhaehnle@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Nicolai Hähnle nhaehnle@gmail.com --- Implemented in Git master commit 2abe4f8d7dcdcff75c28958e1a691ebf6cdee1ac
dri-devel@lists.freedesktop.org