i965/cfg: Add a foreach_block_and_inst macro.
authorMatt Turner <mattst88@gmail.com>
Sat, 12 Jul 2014 04:17:01 +0000 (21:17 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 21 Jul 2014 17:35:38 +0000 (10:35 -0700)
commitdd65a6d9ada7cfa1b694d4211d8c95e446b29c62
treead1d18eb66c8b1df02003f06a395d6a26c2f4b40
parent680fe0acb3e6569f7b9aab1913e9181d5a7eee2f
i965/cfg: Add a foreach_block_and_inst macro.

Will let us abstract how the instructions are stored.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_cfg.h