Re: [Mesa-dev] [PATCH 5/5] i965/fs: Add basic-block-level dead code elimination.

2013-04-10 Thread Matt Turner
On Wed, Apr 10, 2013 at 11:54 AM, Eric Anholt wrote: > This is a poor substitute for proper global dead code elimination that > could replace both our current paths, but it was very easy to write. It > particularly helps with Valve's shaders that are translated out of DX > assembly, which has bee

[Mesa-dev] [PATCH 5/5] i965/fs: Add basic-block-level dead code elimination.

2013-04-10 Thread Eric Anholt
This is a poor substitute for proper global dead code elimination that could replace both our current paths, but it was very easy to write. It particularly helps with Valve's shaders that are translated out of DX assembly, which has been register allocated and thus have a bunch of unrelated uses o