[Mesa-dev] [PATCH v2] mesa: Fix render buffer initial internal format in GLES 3

2015-01-14 Thread michael . w . mason
From: Mike Mason Changes the initial internal format of a render buffer to GL_RGBA4 in GLES 3. This fixes a failure in the following DrawElements test: dEQP-GLES3.functional.state_query.rbo.renderbuffer_internal_format --- src/mesa/main/renderbuffer.c | 19 ++- 1 file changed, 1

[Mesa-dev] [PATCH v3] mesa: Enable GL_RGB/GL_RGBA in GLES3 glGetInternalformativ

2015-01-12 Thread michael . w . mason
From: Mike Mason Removes commit 7894278 changes and moves fix to _mesa_GetInternalformativ(). The original commit enabled the GL_RGB and GL_RGBA unsized internal formats as valid for render buffers in GLES3, but this is incorrect. They should have only been enabled for GetInternalformativ() Bugz

[Mesa-dev] [PATCH] mesa: Fix render buffer initial internal format type

2015-01-09 Thread michael . w . mason
From: Mike Mason Changes the initial internal format of a render buffer to GL_RGBA4. This fixes a failure in the following DrawElements test: dEQP-GLES3.functional.state_query.rbo.renderbuffer_internal_format --- src/mesa/main/renderbuffer.c | 6 +- 1 file changed, 5 insertions(+), 1 deleti

[Mesa-dev] [PATCH v2] mesa: Enable GL_RGB/GL_RGBA in GLES3 glGetInternalformativ

2015-01-09 Thread michael . w . mason
From: Mike Mason Removes commit 7894278 changes and moves fix to _mesa_GetInternalformativ(). The original commit enabled the GL_RGB and GL_RGBA unsized internal formats as valid for render buffers in GLES3, but this is incorrect. They should have only been enabled for GetInternalformativ() Bugz

[Mesa-dev] [mesa-dev][Bug 88079][PATCH] mesa: Enables GL_RGB/GL_RGBA in GLES3 glGetInternalformativ

2015-01-08 Thread michael . w . mason
From: Mike Mason Removes commit 7894278 changes and moves fix to _mesa_GetInternalformativ(). The original commit enabled the GL_RGB and GL_RGBA unsized internal formats as valid for render buffers in GLES3, but this is incorrect. Page 204 of the GLES 3.0.4 spec says render buffers "must be a siz