Re: [Mesa-dev] [PATCH] glsl: Add a CSE pass.

2013-10-28 Thread Eric Anholt
Paul Berry writes: > On 18 October 2013 15:44, Eric Anholt wrote: > >> This only operates on constant/uniform values for now, because otherwise >> I'd >> have to deal with killing my available CSE entries when assignments happen, >> and getting even this working in the tree ir was painful enough

Re: [Mesa-dev] [PATCH] glsl: Add a CSE pass.

2013-10-26 Thread Paul Berry
On 18 October 2013 15:44, Eric Anholt wrote: > This only operates on constant/uniform values for now, because otherwise > I'd > have to deal with killing my available CSE entries when assignments happen, > and getting even this working in the tree ir was painful enough. > > As is, it has the foll

[Mesa-dev] [PATCH] glsl: Add a CSE pass.

2013-10-18 Thread Eric Anholt
This only operates on constant/uniform values for now, because otherwise I'd have to deal with killing my available CSE entries when assignments happen, and getting even this working in the tree ir was painful enough. As is, it has the following effect in shader-db: total instructions in shared p