summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/objectlabel.c
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2014-01-31 09:50:37 -0800
committerPaul Berry <[email protected]>2014-02-04 09:06:09 -0800
commit56790856b303ad5ba86d7eb261ade91edaa3ee0b (patch)
tree5009ee06b838c62e8f2b35f49b30c765635e5441 /src/mesa/main/objectlabel.c
parent933be19cdf97aed977cd656e5c15c99cbdb52b7f (diff)
glsl: Make condition_to_hir() callable from outside ast_iteration_statement.
In addition to making it public, we also need to change its first argument from an ir_loop * to an exec_list *, so that it can be used to insert the condition anywhere in the IR (rather than just in the body of the loop). This will be necessary in order to make continue statements work properly in do-while loops. Cc: [email protected] Acked-by: Carl Worth <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/objectlabel.c')
0 files changed, 0 insertions, 0 deletions