nir: Add an algebraic optimization pass
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 12 Dec 2014 19:13:10 +0000 (11:13 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:20:20 +0000 (07:20 -0800)
commitd5410bd8f65b8d0f845dc8beccd498b6fa098660
tree4d944b67568f4e49e7c5e91f85ad057593321f11
parent0e145a951e64e0b955e8315e22edf9e2ab4581ec
nir: Add an algebraic optimization pass

This pass uses the previously built algebraic transformations framework and
should act as an example for anyone else wanting to make an algebraic
transformation pass for NIR.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/Makefile.am
src/glsl/Makefile.sources
src/glsl/nir/nir.h
src/glsl/nir/nir_opt_algebraic.py [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_fs_nir.cpp