Hi Dave,

Yes, it's legal. Drivers should handle NULL color buffer bindings and
there is a test for it:
http://cgit.freedesktop.org/piglit/commit/?id=ff2398a4e3c4805e7d1bea38f4ae6f9811b42ede

I fixed it just recently.

That said, I think we don't have to bind NULL color buffers which
appear at the end of the color buffer list.

Marek

On Tue, Jan 28, 2014 at 7:33 AM, Dave Airlie <airl...@gmail.com> wrote:
>  I've just been playing with layered rendering on r600g and the depth
> test Marek wrote, and I noticed I'm sometimes getting a gallium
> framebuffer state with 1 cbuf but no defined cbuf,
>
> this comes direct from the Mesa state in the gl_framebuffer object, is
> this legal?
>
> Dave.
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to