[Bug 99221] >2% perf drop in GfxBench T-Rex with "i965: disable loop unrolling in GLSL IR"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 30 14:52:17 UTC 2016


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

--- Comment #9 from Eero Tamminen <eero.t.tamminen at intel.com> ---
SynMark PSPhong case seems similar (worse scheduling and more register bank
conflicts).

In the SynMark PSPom case, fragment shader has two loops of which GLSL IR can
unroll the other, but NIR doesn't unroll either of them.

Should NIR be able to unroll loops with non-integer loop counter, like GLSL IR
did:
------------------------
for (float i = 0.02; i < 0.9; i += 0.11)
   maxSh += (texture(normalTex, texCoord + lightRay * i).a - sh0) * (1.0 - i) *
shadowSoftening;
------------------------
?

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


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