Roland Scheidegger wrote:

this new demo fails pretty horribly on r200.
It seems to be caused by the same bug as I reported here, http://marc.theaimsgroup.com/?l=dri-devel&m=107854279829216&w=2, something fundamental just doesn't work right with regard to blending.
Even if you never enable blending (or disable it explicitly) in this blendminmax demo, the results are vastly different to software rendering (blend equation seems to make a difference even if blending is disabled for some reason).

You beat me to the punch. :) When I wrote that test I was 99% sure it would fail on R200 the same way it failed on i830. The problem is that the GL_MIN and GL_MAX modes do *NOT* use the values set by glBlendFunc (or glBlendFuncSeparate). If the blend equation is set to GL_MIN or GL_MAX, it is supposed to operate as if 'glBlendFunc(GL_ONE,GL_ONE)' was set.


This would be an ideal bug for a DRI newbie to fix. :) Take a look at the functions i830BlendFuncSeparate, i830BlendEquationSeparate, and i830_set_blend_state (all in i830_state.c) for some guidance.




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to