are
if(condition){
Block1
}else{
Block2
}
statements true conditionnal statement ? or will it be translated into a serial of:
a=(condition?value1:value2)
a=(condition?value43:value12)
etc.. repeated each line of block1 and invert condition for block2
wich would be sure less optimized than a true conditionnal statement with jump !
I'm wondering about that because I read than microsoft's language HLSL was doing so for pixel shaders.
What about GLSlang for opengl ?
And does my Radeon 9800 support true conditionnal tests ?
Same question for the "for" statement: is it a true loop, or just a unroll of it ? (with, once again, is not very optimized)



