nir: Add a basic constant folding pass
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 15 Nov 2014 05:35:25 +0000 (21:35 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:20:20 +0000 (07:20 -0800)
commitf77f4c00ce4834ca14dd27bed28949dc012e7daf
treed9a0afe8e46e6a384d5c3f12810e0ad3a12e0c06
parentd5410bd8f65b8d0f845dc8beccd498b6fa098660
nir: Add a basic constant folding pass

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