Gert Wollny <gw.foss...@gmail.com> writes: > Array who's elements are only accessed directly are replaced by the > according number of temporary registers. By doing so the otherwise > reserved register range becomes subject to further optimizations like > copy propagation and register merging. > > Thanks to the resulting reduced register pressure this patch makes > the piglits > > spec/glsl-1.50/execution - > variable-indexing/vs-output-array-vec3-index-wr-before-gs > geometry/max-input-components > > pass on r600 (barts) where they would fail before with a "GPR limit exceeded" > error. > > Signed-off-by: Gert Wollny <gw.foss...@gmail.com> > --- > No further changes are observed with the piglit shader subset. > > PS: Submitter has no write access to mesa-git
This looks like something that should be done with (at most) a small change to opt_array_splitting.cpp, rather than reimplementing it here.
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev