Hello; These 2 patches add support for using GL_RED and GL_RG with floating point textures. Patches fix following failing tests in DEQP-GLES3:
functional.fbo.completeness.renderable.texture.depth.rg_half_float_oes functional.fbo.completeness.renderable.texture.color0.red_half_float_oes functional.fbo.completeness.renderable.texture.stencil.rg_half_float_oes functional.fbo.completeness.renderable.texture.color0.red_float functional.fbo.completeness.renderable.texture.stencil.red_float functional.fbo.completeness.renderable.texture.color0.rg_half_float_oes functional.fbo.completeness.renderable.texture.stencil.rg_float functional.fbo.completeness.renderable.texture.stencil.red_half_float_oes functional.fbo.completeness.renderable.texture.depth.rg_float functional.fbo.completeness.renderable.texture.color0.rg_float functional.fbo.completeness.renderable.texture.depth.red_half_float_oes functional.fbo.completeness.renderable.texture.depth.red_float I've also run conformance suites for GLES2 and GLES3, with these patches there are no regressions + no Piglit regressions. Sorry for the noise in the Bugzilla, I was quite a bit confused about what is required until I noticed that EXT_texture_rg exists. Tapani Pälli (2): mesa: add GL_RED, GL_RG support for floating point textures mesa: allow unsized formats GL_RG, GL_RED for GLES 3.0 with half float src/mesa/main/glformats.c | 123 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 109 insertions(+), 14 deletions(-) -- 2.1.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev