OSDN Git Service

mesa: Disallow GL_RED/GL_RG with half-floats on GLES2.
authorEric Anholt <eric@anholt.net>
Wed, 11 Oct 2017 17:32:25 +0000 (10:32 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 12 Oct 2017 19:42:13 +0000 (12:42 -0700)
commit376a0a9b08543f3978efd6f51cec3d4cf628e939
tree2b7bb0c28d294481af742b53d0ec710f113b0f28
parentf536f45250a52cedbcc867637f097cddaa8c4bac
mesa: Disallow GL_RED/GL_RG with half-floats on GLES2.

Sure, you'd think that the combination of GL_OES_texture_half_float and
GL_EXT_texture_rg would mean that GL_RG16F exists, but it doesn't.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103227
Fixes: c16a7443e999 ("mesa: Expose GL_OES_required_internalformat on GLES contexts.")
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/glformats.c