summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-03-04 21:43:37 -0800
committerKenneth Graunke <kenneth@whitecape.org>2016-03-08 12:46:28 -0800
commit8b3496f3782cc48b15fc7221392af2e416d9c2cb (patch)
treee30caa0df4df97a007ed6b88148499d0bd16b71b /src/mesa/main/fbobject.c
parent752769e0531bc9b15e95a2bb2250dc0970b1a421 (diff)
downloadexternal_mesa3d-8b3496f3782cc48b15fc7221392af2e416d9c2cb.zip
external_mesa3d-8b3496f3782cc48b15fc7221392af2e416d9c2cb.tar.gz
external_mesa3d-8b3496f3782cc48b15fc7221392af2e416d9c2cb.tar.bz2
mesa: Add GL_RED and GL_RG to ES3 effective internal format mapping.
The dEQP-GLES3.functional.fbo.completeness.renderable.texture. {color0,depth,stencil}.{red,rg}_unsigned_byte tests appear to expect GL_RED/GL_RG and GL_UNSIGNED_BYTE to map to GL_R8/GL_RG8, rather than returning an INVALID_OPERATION error. This makes perfect sense. However, RED and RG are strangely missing from the ES 3.0/3.1/3.2 spec's "Effective internal format corresponding to external format and type" tables. It may be worth filing a spec bug. Fixes the 6 dEQP tests mentioned above. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Diffstat (limited to 'src/mesa/main/fbobject.c')
0 files changed, 0 insertions, 0 deletions