[Mesa-dev] [PATCH] mesa: ES2 glReadPixels support for OES float extensions.

2018-12-11 Thread Nick Kreeger
The OES extensions for float/half-float allow glReadPixels to read GL_RGBA values as GL_FLOAT for both floats and half-floats. This patch ensures that ES2 context versions allows this if at least one of the extensions is present. --- src/mesa/main/readpix.c | 3 ++- 1 file changed, 2 insertions(+)

Re: [Mesa-dev] [PATCH v2] mesa: Fix GLES2 OES float texture framebuffer rendering.

2018-12-11 Thread Nick Kreeger
Please ignore this patch - I accidentally had my conditionals backwards for half/float float extension checking. The V3 patch is the main one. On Tue, Dec 11, 2018 at 7:02 PM Nick Kreeger wrote: > This change enables GLES2 to render float/half-float textures to a > framebuffer wh

[Mesa-dev] [PATCH v3] mesa: Fix GLES2 OES float texture framebuffer rendering.

2018-12-11 Thread Nick Kreeger
This change enables GLES2 to render float/half-float textures to a framebuffer when the appropriate OES extensions are available. This commit regressed OES GLES2 float texture rendering: https://gitlab.freedesktop.org/mesa/mesa/commit/e333035c47a6a4cc88f0f9ca2bced500538bebae --- src/mesa/main/fbo

[Mesa-dev] [PATCH v2] mesa: Fix GLES2 OES float texture framebuffer rendering.

2018-12-11 Thread Nick Kreeger
This change enables GLES2 to render float/half-float textures to a framebuffer when the appropriate OES extensions are available. This commit regressed OES GLES2 float texture rendering: https://gitlab.freedesktop.org/mesa/mesa/commit/e333035c47a6a4cc88f0f9ca2bced500538bebae --- src/mesa/main/fbo

[Mesa-dev] [PATCH] svga: Enable rendering of float/half-float

2018-12-10 Thread Nick Kreeger
In GLES2 - if extensions are present, float and half-float textures can be used for rendering. This change enables the svga driver to handle rendering these types. --- src/gallium/drivers/svga/svga_screen.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/drive

[Mesa-dev] [PATCH] mesa: Fix GLES2 OES float texture framebuffer rendering.

2018-12-10 Thread Nick Kreeger
This change enables GLES2 chagnes to render This change enables GLES2 to render float/half-float textures to a framebuffer when the appropriate OES extensions are available. This commit regressed OES GLES2 float texture rendering: https://gitlab.freedesktop.org/mesa/mesa/commit/e333035c47a6a4cc88

[Mesa-dev] [PATCH] mesa: GLES2 fix for OES float/half-float textures.

2018-12-10 Thread Nick Kreeger
The OES_texture* extensions for float and half-float are valid when GLES2 is present w/ the matching OES_texture_float/OES_texture_half_float extensions. This fix ensures that these formats are valid for this configuration. --- src/mesa/main/glformats.c | 11 --- 1 file changed, 8 insertio