diff options
author | Tapani Pälli <tapani.palli@intel.com> | 2016-10-07 10:08:21 +0300 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-10-27 11:13:24 +0100 |
commit | 92a50b3d6e1d5283e01a1b1cb7edde93ce4f3f1e (patch) | |
tree | 8b07bd5600b91d6a01864d3f6c8c37e8b4f79caa /src/gallium | |
parent | 732b39507b21833511ea465964f66452d70336a8 (diff) | |
download | external_mesa3d-92a50b3d6e1d5283e01a1b1cb7edde93ce4f3f1e.zip external_mesa3d-92a50b3d6e1d5283e01a1b1cb7edde93ce4f3f1e.tar.gz external_mesa3d-92a50b3d6e1d5283e01a1b1cb7edde93ce4f3f1e.tar.bz2 |
mesa: fix error handling in DrawBuffers
Patch rearranges error checking so that enum checking provided via
destmask happens before other checks. It needs to be done in this
order because other error checks do not work properly if there were
invalid enums passed.
Patch also refines one existing check and it's documentation to match
GLES 3.0 spec (also in later specs). This was somewhat mysteriously
referring to desktop GL but had a check for gles3.
Fixes following dEQP tests:
dEQP-GLES31.functional.debug.negative_coverage.get_error.buffer.draw_buffers
no CI regressions observed.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98134
Cc: "12.0 13.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
(cherry picked from commit a1652a059edc5a5f0f4b0836ba310a22e094bd85)
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions