Is it possible to perform the following combiner math with 2 general combiner stages plus the final combiner stage:
out.rgb = (col0 * tex0 * tex1).(const0) * const1
I don’t think it is because you have to multiply the first three terms in serial, right? That alone eats two stages . I want to be sure, though, as it’s the difference between being GF2 and GF3 compatible.
Hi ,
actually , if tex1 is luminance it is possible
because then you can rewrite the expression as :
out.rgb = (col0 * tex0 ).(const0) * const1 * tex1
you can calculate (col0 * tex0) in combiner0 rgb
then you do the dot product in combiner1 rgb
and const1 * tex1 can also be done there .
Then all that`s left is multiplying the two temporaries in the final combiner
hope that helps ,
Martin Kraus