egl: Take alpha bits into account when selecting GBM formats
authorDaniel Stone <daniels@collabora.com>
Mon, 2 Mar 2015 13:52:59 +0000 (13:52 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 4 Mar 2015 15:48:18 +0000 (15:48 +0000)
commit65c8965d033cf9ade5e6f3c88bda6d247d46af9d
tree13488aacda45091b04027da8f549fc7b78386d3a
parentb709adf7cca24412a6c1bb813856ca701e534ffd
egl: Take alpha bits into account when selecting GBM formats

This fixes piglit when using PIGLIT_PLATFORM=gbm

Tom Stellard:
  - Fix ARGB2101010 format

Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/egl/drivers/dri2/platform_drm.c