summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2014-06-17 11:14:17 -0700
committerCarl Worth <cworth@cworth.org>2014-06-23 14:59:28 -0700
commit4d0c445af6e600be6912da6bbaecc8c1642ed56c (patch)
treeed475783c0308695f43ecfac85cb6b7e338a653a /src/gallium/drivers/nouveau
parent9ad103d6647e95fda12717e00abeec67abfccbf0 (diff)
meta: Respect the driver's maximum number of draw buffers
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 meta to generate GL errors. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80115 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Kenneth Graunke <kenneth@whitecape.org> [on Broadwell] Tested-by: jpsinthemix@verizon.net Cc: "10.2" <mesa-stable@lists.freedesktop.org> (cherry picked from commit cc219d1d6567cfada5d8e9adf01c2f00e00c93ca)
Diffstat (limited to 'src/gallium/drivers/nouveau')
0 files changed, 0 insertions, 0 deletions