summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_cfg.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-07-11 16:17:47 -0700
committerMatt Turner <mattst88@gmail.com>2014-08-18 18:56:30 -0700
commitd688667c7f8ab69b079b7c85dccc2b70e5863e32 (patch)
tree5a5f68d6d8801a00c390f0f93011ed58984cc026 /src/mesa/drivers/dri/i965/brw_cfg.h
parent19c6617adfec618889bb52d5398b8ac3d5969c18 (diff)
downloadexternal_mesa3d-d688667c7f8ab69b079b7c85dccc2b70e5863e32.tar.gz
external_mesa3d-d688667c7f8ab69b079b7c85dccc2b70e5863e32.tar.bz2
external_mesa3d-d688667c7f8ab69b079b7c85dccc2b70e5863e32.zip
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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_cfg.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_cfg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cfg.h b/src/mesa/drivers/dri/i965/brw_cfg.h
index 01fcc1befd..324df6caf6 100644
--- a/src/mesa/drivers/dri/i965/brw_cfg.h
+++ b/src/mesa/drivers/dri/i965/brw_cfg.h
@@ -61,6 +61,8 @@ struct bblock_t {
void dump(backend_visitor *v);
#endif
+ struct exec_node link;
+
struct backend_instruction *start;
struct backend_instruction *end;