On Mon, 2010-01-11 at 07:39 -0800, Corbin Simpson wrote:
> Pardon the subject pun, it was totally necessary at this early hour. :3
> 
> If the scissor test is enabled, and the scissors obscure the entire
> framebuffer, should drawing calls still be run? Talking on IRC, it
> seems like there's a valid use-case for performance testing, and I'm
> of the mind that anybody that deliberately sets up the pipeline and
> scissor that way probably intended for it.

I can't think of any application-visible side-effects which would affect
the correctness of either choice.

> I just want a clarification so I know whether I should revert
> bfcafbe15dc, and also I wanted to document it.

There are probably interactions with multiple-sized framebuffer
attachments that will make this test harder -- given the different
framebuffer sizes, it probably becomes the viewport rectangle that you
want to test against, if your hardware supports different-sized MRTs.

Unfortunately it's a bit of a pain to extract the viewport rectangle in
current Gallium as we've got it encoded as a transformation rather than
a box.

Keith


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to