nir: Add a worklist helper structure
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Dec 2014 19:05:02 +0000 (11:05 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 16 Jan 2015 00:54:21 +0000 (16:54 -0800)
commit4839d1aed167d904ebd5827d7c01d87ad5b0fca1
tree4d1ce99f4735eb955b9d0a670e42ff18863af6c2
parent0aaaa13ec9b67939d119dcabf6136bc0fcae859d
nir: Add a worklist helper structure

A worklist is a common concept in optimizations.  This adds a structure
that we can reuse for many different types of optimizations.

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