Re: [Mesa-dev] question on GL_RED and gles
Hi; On 11/25/2015 05:24 PM, Julien Isorce wrote: Hi, In EXT_texture_rg.txt it is mentioned of GL_RED_EXT on gles 2.0. In glformats.c::_mesa_es_error_check_format_and_type returns GL_INVALID_VALUE if GL_RED_EXT(as it reaches default case) so glTexImage2D(..., GL_RED_EXT, GL_UNSIGNED_BYTE, data) fails. Though GL_EXTENSIONS contains GL_EXT_texture_rg. So it seems that GL_RED_EXT is actually only possible with gles >= 3.0. What am I missing ? Which version of Mesa are you using to test this? Ilia fixed this bug: https://bugs.freedesktop.org/show_bug.cgi?id=93126 which I believe should fix this issue, fix is available in current master and Mesa 11.1. Thx in advance for any clarification. Julien ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] question on GL_RED and gles
On 12/01/2015 03:10 PM, Julien Isorce wrote: On 1 December 2015 at 13:08, Tapani Pälli> wrote: Which version of Mesa are you using to test this? Ilia fixed this bug: https://bugs.freedesktop.org/show_bug.cgi?id=93126 which I believe should fix this issue, fix is available in current master and Mesa 11.1. Hi, It is me that open that bug :) Oh nevermind then, I did not realize this was older mail thread than the bug :) Cheers Julien ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] question on GL_RED and gles
On Wed, 25 Nov 2015 15:24:07 + Julien Isorcewrote: > Hi, > > In EXT_texture_rg.txt it is mentioned of GL_RED_EXT on gles 2.0. > > In glformats.c::_mesa_es_error_check_format_and_type returns > GL_INVALID_VALUE if GL_RED_EXT(as it reaches default case) > so glTexImage2D(..., GL_RED_EXT, GL_UNSIGNED_BYTE, data) fails. > > Though GL_EXTENSIONS contains GL_EXT_texture_rg. > > So it seems that GL_RED_EXT is actually only possible with gles >= 3.0. > > What am I missing ? Hi, maybe it's a similar issue as https://bugs.freedesktop.org/show_bug.cgi?id=92265 perhaps? Thanks, pq pgpJCFGZ9jjjO.pgp Description: OpenPGP digital signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] question on GL_RED and gles
On 1 December 2015 at 13:08, Tapani Pälliwrote: > Which version of Mesa are you using to test this? Ilia fixed this bug: > > https://bugs.freedesktop.org/show_bug.cgi?id=93126 > > which I believe should fix this issue, fix is available in current master > and Mesa 11.1. > > Hi, It is me that open that bug :) Cheers Julien ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] question on GL_RED and gles
Hi, In EXT_texture_rg.txt it is mentioned of GL_RED_EXT on gles 2.0. In glformats.c::_mesa_es_error_check_format_and_type returns GL_INVALID_VALUE if GL_RED_EXT(as it reaches default case) so glTexImage2D(..., GL_RED_EXT, GL_UNSIGNED_BYTE, data) fails. Though GL_EXTENSIONS contains GL_EXT_texture_rg. So it seems that GL_RED_EXT is actually only possible with gles >= 3.0. What am I missing ? Thx in advance for any clarification. Julien ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev