<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi;<br>
      <br>
      On 11/25/2015 05:24 PM, Julien Isorce wrote:<br>
    </div>
    <blockquote
cite="mid:CAHWPjbWGKCGwkKSjUF-FX2U6xJ1qYGVjumkSTDuh8T-wZorrLg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div>
          <div>
            <div>Hi,<br>
              <br>
            </div>
            <div>In EXT_texture_rg.txt it is mentioned of GL_RED_EXT on
              gles 2.0.<br>
            </div>
            <div><br>
            </div>
            In  glformats.c::_mesa_es_error_check_format_and_type
            returns GL_INVALID_VALUE if  GL_RED_EXT(as it reaches
            default case)<br>
          </div>
          <div>so glTexImage2D(..., GL_RED_EXT, GL_UNSIGNED_BYTE, data)
            fails.<br>
          </div>
          <div><br>
          </div>
          Though GL_EXTENSIONS contains GL_EXT_texture_rg.<br>
          <br>
        </div>
        <div>So it seems that GL_RED_EXT is actually only possible with
          gles >= 3.0.<br>
          <br>
        </div>
        <div>What am I missing ?<br>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    Which version of Mesa are you using to test this? Ilia fixed this
    bug:<br>
    <br>
    <a class="moz-txt-link-freetext" href="https://bugs.freedesktop.org/show_bug.cgi?id=93126">https://bugs.freedesktop.org/show_bug.cgi?id=93126</a><br>
    <br>
    which I believe should fix this issue, fix is available in current
    master and Mesa 11.1.<br>
    <br>
    <br>
    <blockquote
cite="mid:CAHWPjbWGKCGwkKSjUF-FX2U6xJ1qYGVjumkSTDuh8T-wZorrLg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Thx in advance for any clarification.<br>
        </div>
        <div>Julien<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mesa-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>