summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_hv_accept.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-06-17 11:14:17 -0700
committerIan Romanick <[email protected]>2014-06-18 14:45:25 -0700
commitcc219d1d6567cfada5d8e9adf01c2f00e00c93ca (patch)
treefd0d6b5de05b472e9c4a620544ea18bb28c4773f /src/glsl/ir_hv_accept.cpp
parent56335b44417bc3d49625f9637e2b95457f522ad2 (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 <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80115 Reviewed-by: Kenneth Graunke <[email protected]> Tested-by: Kenneth Graunke <[email protected]> [on Broadwell] Tested-by: [email protected] Cc: "10.2" <[email protected]>
Diffstat (limited to 'src/glsl/ir_hv_accept.cpp')
0 files changed, 0 insertions, 0 deletions