diff options
author | Ian Romanick <[email protected]> | 2014-06-17 11:14:17 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-06-18 14:45:25 -0700 |
commit | cc219d1d6567cfada5d8e9adf01c2f00e00c93ca (patch) | |
tree | fd0d6b5de05b472e9c4a620544ea18bb28c4773f /src/glsl/opt_noop_swizzle.cpp | |
parent | 56335b44417bc3d49625f9637e2b95457f522ad2 (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/opt_noop_swizzle.cpp')
0 files changed, 0 insertions, 0 deletions