mesa: allow unsized formats GL_RG, GL_RED for GLES 3.0 with half float
authorTapani Pälli <tapani.palli@intel.com>
Mon, 8 Jun 2015 11:53:26 +0000 (14:53 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 10 Jun 2015 09:59:50 +0000 (12:59 +0300)
commit07e4f12e66f64c8075c0d3fd1c23cbd7c657970c
tree994af36a1a901aab191bb44399215badb0a07dd7
parentadee54f8269c5e9f4fde91d19f0e465afc8f14d8
mesa: allow unsized formats GL_RG, GL_RED for GLES 3.0 with half float

v2: && -> ||, we enable on gles3 or if ARB_texture_rg is enabled

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90748
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/glformats.c