[Mesa-dev] can we have gl_framebuffer _NumColorDrawBuffers = 1 and all the entries in the array NULL

Marek Olšák maraeo at gmail.com
Tue Jan 28 14:20:12 PST 2014


I was hoping my kernel fix would be backported to old kernels:

http://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-3.14&id=56492e0fac2dbaf7735ffd66b206a90624917789

I guess I should have fixed up the user space as well.

Marek

On Tue, Jan 28, 2014 at 10:06 PM, Dave Airlie <airlied at gmail.com> wrote:
>>
>> 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.
>>
>
> Ah okay on r600g this is broken due to how we work out the
> CB_TARGET_MASK, the kernel cs checker gives out,
>
> I'll fixup the patch I wrote and send it.
>
> Dave.


More information about the mesa-dev mailing list