[Mesa-dev] [PATCH] mesa: fix error handling in DrawBuffers
Emil Velikov
emil.l.velikov at gmail.com
Mon Oct 24 10:35:50 UTC 2016
On 21 October 2016 at 12:41, Tapani Pälli <tapani.palli at intel.com> wrote:
> 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
>
Hunk/comment was added by 097b933b55eea6181678b34ede94bbc588dc94ff
which fixes one of the negative tests. Although that seems to be
partial/incomplete fix.
> no CI regressions observed.
>
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98134
Cc: "12.0 13.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
-Emil
More information about the mesa-dev
mailing list