mesa/src
Lin Johnson 41cf30b8bc mesa: add GL_HALF_FLOAT as supported type to readpixels
EXT_color_buffer_float spec states:

  "An INVALID_OPERATION error is generated ... if the color buffer is
   a floating-point format and type is not FLOAT, HALF FLOAT, or
   UNSIGNED_INT_10F_11F_11F_REV."

This means that GL_HALF_FLOAT type should be supported when color
buffer has floating-point format.

Fixes Android CTS test android.view.cts.PixelCopyTest.

v2: remove comments of EXT_color_buffer_half_float as
    EXT_color_buffer_float can use type GL_HALF_FLOAT

Signed-off-by: Lin Johnson <johnson.lin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
2018-03-27 09:04:52 +03:00
..
amd radeonsi: don't reallocate on DMABUF export if local BOs are disabled 2018-03-26 19:22:12 -04:00
broadcom broadcom/vc5: Fix extraneous register index in QIR dumping of TLBU writes. 2018-03-26 17:46:23 -07:00
compiler glsl: fix infinite loop caused by bug in loop unrolling pass 2018-03-27 09:15:02 +11:00
egl wayland-drm: do not distribute generated sources 2018-03-23 11:27:12 +01:00
gallium broadcom/vc5: Fix swizzling of RGB10_A2UI render targets. 2018-03-26 17:46:23 -07:00
gbm meson: Use include directory variables instead of traversing 2018-03-07 13:30:53 -08:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx dri3: Don't fail on version mismatch 2018-03-20 08:52:59 +00:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel intel/aubinator_error_decode: Decode more registers. 2018-03-26 09:25:57 -07:00
loader dri3: Don't fail on version mismatch 2018-03-20 08:52:59 +00:00
mapi *-symbol-check: use correct nm path when cross-compiling 2018-02-26 13:50:59 +00:00
mesa mesa: add GL_HALF_FLOAT as supported type to readpixels 2018-03-27 09:04:52 +03:00
util meson/configure: detect endian.h instead of trying to guess when it's available 2018-03-23 11:44:21 +00:00
vulkan wayland-drm: do not distribute generated sources 2018-03-23 11:27:12 +01:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
meson.build meson: fix building without GL 2018-02-26 09:32:14 -08:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00