vc4: Create a basic block structure and move the instructions into it.
authorEric Anholt <eric@anholt.net>
Fri, 8 Jul 2016 22:42:15 +0000 (15:42 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 12 Jul 2016 22:47:26 +0000 (15:47 -0700)
commit6c1f834a237540c344fa794d60501a69bf066fb5
tree14913f99b70ede78bfb2da9e1eeb6276c3569fd1
parentd3cdbf6fd817ae5e7a8a72bcc3f43cc1b04a709b
vc4: Create a basic block structure and move the instructions into it.

The optimization passes and scheduling aren't actually ready for multiple
blocks with control flow yet (as seen by the "cur_block" references in
them instead of iterating over blocks), but this creates the structures
necessary for converting them.
src/gallium/drivers/vc4/vc4_opt_dead_code.c
src/gallium/drivers/vc4/vc4_opt_peephole_sf.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qir_lower_uniforms.c
src/gallium/drivers/vc4/vc4_qir_schedule.c