[Bug 77957] Variably-indexed constant arrays result in terrible shader code

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 26 01:12:30 PDT 2014


Kenneth Graunke <kenneth at whitecape.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED
           Assignee|idr at freedesktop.org         |kenneth at whitecape.org

--- Comment #1 from Kenneth Graunke <kenneth at whitecape.org> ---
Created attachment 98008
  --> https://bugs.freedesktop.org/attachment.cgi?id=98008&action=edit
First cut at a patch to implement lowering const arrays to uniforms

Here's a first cut at a patch.  I haven't run Piglit on it yet; there are
probably some cases that are broken.

In a terrain rendering microbenchmark, this cuts the number of VS instructions
by nearly half, and approximately doubles the performance.

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/20140426/18a53d0c/attachment.html>

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