nir: Add a basic CSE pass
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 12 Nov 2014 00:11:34 +0000 (16:11 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:19:01 +0000 (07:19 -0800)
commit6bdce55c44a45fc8ec8426996572c18ecf88bd64
tree3b3b4def69a9158b59372fd6c333f93bd4beb4a5
parent20a581260633cb6d0d8ca571e7f3e886298a5733
nir: Add a basic CSE pass

This pass is still fairly basic.  It only handles ALU operations, constant
loads, and phi nodes.  No texture ops or intrinsics yet.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/Makefile.sources
src/glsl/nir/nir.h
src/glsl/nir/nir_opt_cse.c [new file with mode: 0644]