i965/cfg: Embed link in bblock_t for main block list.
authorMatt Turner <mattst88@gmail.com>
Fri, 11 Jul 2014 23:17:47 +0000 (16:17 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 19 Aug 2014 01:56:30 +0000 (18:56 -0700)
commitd688667c7f8ab69b079b7c85dccc2b70e5863e32
tree5a5f68d6d8801a00c390f0f93011ed58984cc026
parent19c6617adfec618889bb52d5398b8ac3d5969c18
i965/cfg: Embed link in bblock_t for main block list.

The next patch adds a foreach_block (block, cfg) macro, which works
better if it provides a direct bblock_t pointer, rather than a
bblock_link pointer that you have to use to find the actual block.

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