Re: [Mesa-dev] [PATCH] mesa: Add partial constant propagation pass for Mesa IR

2011-08-16 Thread Eric Anholt
On Mon, 15 Aug 2011 16:27:49 -0700, "Ian Romanick" wrote: > From: Ian Romanick > > This cleans up some code generated by the IR-to-Mesa pass for i915. > In particular, some shaders involving arrays of constant matrices > result in really bad code. > > v2: Silence several warnings from merging t

[Mesa-dev] [PATCH] mesa: Add partial constant propagation pass for Mesa IR

2011-08-15 Thread Ian Romanick
From: Ian Romanick This cleans up some code generated by the IR-to-Mesa pass for i915. In particular, some shaders involving arrays of constant matrices result in really bad code. v2: Silence several warnings from merging the gl_constant_value work. Fix DP[23] folding. Add support for a bunch m