https://bugs.freedesktop.org/show_bug.cgi?id=74329
Priority: medium Bug ID: 74329 Assignee: dri-devel@lists.freedesktop.org Summary: Please expose OES_texture_float and OES_texture_half_float on the ES3 context Severity: minor Classification: Unclassified OS: Linux (All) Reporter: org.freedesktop@io7m.com Hardware: All Status: NEW Version: 10.0 Component: Drivers/DRI/R600 Product: Mesa
Hello.
Original discussion on mailing list:
http://lists.freedesktop.org/archives/mesa-users/2014-February/000761.html
Essentially, for the purposes of testing code in an ES3 context as it would be run on an ES2 context (that is, taking the paths the code would take based on the extensions present on ES2), it would be nice if the ES3 context exposed OES_texture_float and OES_texture_half_float.
The current ES3 context on this hardware exposes GL_EXT_texture_rg and GL_EXT_color_buffer_float, and can therefore definitely support OES_texture_float and OES_texture_half_float. All that would (apparently) be required would be for floating point textures to be specified in an ES2 compatible manner (with format and internalformat set to GL_RED|GL_RG, and type set to GL_FLOAT).
https://bugs.freedesktop.org/show_bug.cgi?id=74329
--- Comment #1 from org.freedesktop@io7m.com --- Thread actually started here:
http://lists.freedesktop.org/archives/mesa-users/2014-January/000745.html
https://bugs.freedesktop.org/show_bug.cgi?id=74329
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|Drivers/DRI/R600 |Drivers/Gallium/r600
https://bugs.freedesktop.org/show_bug.cgi?id=74329
--- Comment #2 from Marek Olšák maraeo@gmail.com --- (In reply to comment #1)
Thread actually started here:
http://lists.freedesktop.org/archives/mesa-users/2014-January/000745.html
You will need to patch the Mesa source code. It should be trivial though, because the functionality is already implemented.
https://bugs.freedesktop.org/show_bug.cgi?id=74329
--- Comment #3 from Matt Turner mattst88@gmail.com --- The Mesa core support was added in this commit:
commit a63c8a524b01e802cf2505099f930c0cb97df0b2 Author: Kalyan Kondapally kondapallykalyancontribute@gmail.com Date: Wed Jan 7 20:30:25 2015 -0800
Mesa: Add support for GL_OES_texture_*float* extensions.
This patch series adds support for following GLES2 Texture Float extensions: 1)GL_OES_texture_float, 2)GL_OES_texture_half_float, 3)GL_OES_texture_float_linear, 4)GL_OES_texture_half_float_linear.
Gallium drivers just need to enable the extensions now.
https://bugs.freedesktop.org/show_bug.cgi?id=74329
Sergey Kondakov virtuousfox@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |virtuousfox@gmail.com
--- Comment #4 from Sergey Kondakov virtuousfox@gmail.com --- Is anything holding off r600 from using it ? I was just trying to see http://madebyevan.com/webgl-water/ WebGL demo and was surprised that recent Mesa 10.6 doesn't have OES_texture_float while having GL_ARB_texture_float.
https://bugs.freedesktop.org/show_bug.cgi?id=74329
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Marek Olšák maraeo@gmail.com --- Added in 44dc1d307d7eacef0d6f1618ba0fb7f62e08f8. Closing.
dri-devel@lists.freedesktop.org