egl: stop claiming support for pbuffer + msaa
authorTapani Pälli <tapani.palli@intel.com>
Mon, 26 Sep 2016 07:03:32 +0000 (10:03 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 3 Oct 2016 04:56:44 +0000 (07:56 +0300)
commit4d6d55deef291b489af4d7870c6f5eb223c8da5d
tree34fcc157454d0802ed6b2f79791b539922cae336
parenteaf147cb463a2809366964ac4924e9aef719ffe7
egl: stop claiming support for pbuffer + msaa

This fixes a crash in egl-create-msaa-pbuffer-surface Piglit test
and same crash in many dEQP EGL tests.

I also found that some Qt example did a workaround because of this
crash: https://bugreports.qt.io/browse/QTBUG-47509

v2: Ian pointed out that v1 removed support for all multisample
    configs, including window ones. This one removes pbuffer bit
    when adding configs, now only pbuffer+msaa gets rejected and
    window+msaa continues to work. Fixed also comment (Emil)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/egl/drivers/dri2/egl_dri2.c