summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_reorder_uniforms.c
Commit message (Collapse)AuthorAgeFilesLines
* vc4: Add a "qir_for_each_inst_inorder" macro and use it in many places.Eric Anholt2016-07-121-1/+1
| | | | | | | | We have the prior list_foreach() all over the code, but I need to move where instructions live as part of adding support for control flow. Start by just converting to a helper iterator macro. (The simpler "qir_for_each_inst()" will be used for the for-each-inst-in-a-block iterator macro later)
* vc4: Fix uniform reordering to support reading the same uniform twice.Eric Anholt2015-11-171-8/+18
| | | | | This does actually happen in the wild (particularly fabs of a uniform), so we'd like to support it.
* vc4: Convert from simple_list.h to list.hEric Anholt2015-05-291-3/+1
| | | | list.h is a nicer and more familiar set of list functions/macros.
* vc4: Add support for reordering the uniform stream after optimization.Eric Anholt2014-09-171-0/+84
This allows for introducing dead code eliminating of uniforms, copy propagation of uniforms, and instruction rescheduling between instructions that both read uniforms.