summaryrefslogtreecommitdiffstats
path: root/configs/linux-indirect
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-01 13:55:46 -0700
committerIan Romanick <[email protected]>2011-08-15 11:44:26 -0700
commit4a026d6ba50034c326eb6cfd0b555f57d83ab609 (patch)
tree2f3d490115a5ce1efbed52d0214d0b99c3e7a5d2 /configs/linux-indirect
parent13df36ecb6c24ea36534fa0dfea917aca8233710 (diff)
glsl: Slight change to the code generated by if-flattening
Now the condition (for the then-clause) and the inverse condition (for the else-clause) get written to separate temporary variables. In the presence of complex conditions, this shouldn't result in more code being generated. If the original if-statement was if (a && b && c && d && e) { ... } else { ... } The lowered code will be if_to_cond_assign_then = a && b && c && d && e; ... if_to_cond_assign_else = !if_to_cond_assign_then; ... Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'configs/linux-indirect')
0 files changed, 0 insertions, 0 deletions