Re: [Mesa-dev] [PATCH] meta: Respect the driver's maximum number of draw buffers

2014-06-17 Thread Kenneth Graunke
On Tuesday, June 17, 2014 11:17:57 AM Ian Romanick wrote: > From: Ian Romanick > > Commit c1c1cf5f9 added infrastructure for saving and restoring draw > buffer state. However, it universially used MAX_DRAW_BUFFERS, but many > drivers support far fewer than that at limit. For example, the radeon

[Mesa-dev] [PATCH] meta: Respect the driver's maximum number of draw buffers

2014-06-17 Thread Ian Romanick
From: Ian Romanick Commit c1c1cf5f9 added infrastructure for saving and restoring draw buffer state. However, it universially used MAX_DRAW_BUFFERS, but many drivers support far fewer than that at limit. For example, the radeon and i915 drivers only support 1. Using MAX_DRAW_BUFFERS causes met