mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
Revert "mesa: add GL_HALF_FLOAT as supported type to readpixels"
This reverts commit 41cf30b8bc.
Commit caused regressions with KHR-GLES3.packed_pixels.* tests.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Suggested-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
0bdbe4583f
commit
6b21391729
1 changed files with 0 additions and 2 deletions
|
|
@ -920,8 +920,6 @@ read_pixels_es3_error_check(GLenum format, GLenum type,
|
|||
case GL_RGBA:
|
||||
if (type == GL_FLOAT && data_type == GL_FLOAT)
|
||||
return GL_NO_ERROR; /* EXT_color_buffer_float */
|
||||
if (type == GL_HALF_FLOAT && data_type == GL_FLOAT)
|
||||
return GL_NO_ERROR;
|
||||
if (type == GL_UNSIGNED_BYTE && data_type == GL_UNSIGNED_NORMALIZED)
|
||||
return GL_NO_ERROR;
|
||||
if (internalFormat == GL_RGB10_A2 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue