commit | 51f87979934100af8c40cfa17f670bc38417ddc0 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Wed Feb 24 21:40:37 2016 -0800 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Fri Feb 26 15:55:59 2016 -0800 |
tree | c78590a446b1bbb0d9bb394c69ccf6beda7f1793 | |
parent | dcd4a841e9096b988ea3ca2779e7c8b1ca5e5747 [diff] |
i965: Move optimizations from brw_nir_lower_io to brw_postprocess_nir. This simplifies things. Every caller of brw_nir_lower_io() immediately calls brw_postprocess_nir(). The only real change this will have is that we get an extra brw_nir_optimize() call when compiling compute shaders, but that seems fine. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>