diff options
author | Matt Turner <[email protected]> | 2013-12-02 10:29:49 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-12-04 20:05:42 -0800 |
commit | ba84800275bd949d30125da7a1632ac62e84d8a0 (patch) | |
tree | 7e202765bdb959ca099b3c88bd502b5ca3d76dad /src/mesa/drivers | |
parent | 7642c3c6ff3bd6c419ea9406636a2b7b42eb3c0b (diff) |
i965/cfg: Document cur_* variables.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_cfg.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cfg.cpp b/src/mesa/drivers/dri/i965/brw_cfg.cpp index 3213e03a480..32ba4a4cdcc 100644 --- a/src/mesa/drivers/dri/i965/brw_cfg.cpp +++ b/src/mesa/drivers/dri/i965/brw_cfg.cpp @@ -88,8 +88,11 @@ cfg_t::cfg_t(exec_list *instructions) int ip = 0; bblock_t *entry = new_block(); - bblock_t *cur_if = NULL, *cur_else = NULL, *cur_endif = NULL; - bblock_t *cur_do = NULL, *cur_while = NULL; + bblock_t *cur_if = NULL; /**< BB ending with IF. */ + bblock_t *cur_else = NULL; /**< BB ending with ELSE. */ + bblock_t *cur_endif = NULL; /**< BB starting with ENDIF. */ + bblock_t *cur_do = NULL; /**< BB ending with DO. */ + bblock_t *cur_while = NULL; /**< BB immediately following WHILE. */ exec_list if_stack, else_stack, do_stack, while_stack; bblock_t *next; |