Bug 74329 - Please expose OES_texture_float and OES_texture_half_float on the ES3 context
Summary: Please expose OES_texture_float and OES_texture_half_float on the ES3 context
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: 10.0
Hardware: All Linux (All)
: medium minor
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-01 16:54 UTC by org.freedesktop
Modified: 2015-08-14 13:40 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description org.freedesktop 2014-02-01 16:54:17 UTC
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).
Comment 1 org.freedesktop 2014-02-01 16:57:17 UTC
Thread actually started here:

http://lists.freedesktop.org/archives/mesa-users/2014-January/000745.html
Comment 2 Marek Olšák 2014-02-01 20:14:17 UTC
(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.
Comment 3 Matt Turner 2015-02-19 07:09:51 UTC
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.
Comment 4 Sergey Kondakov 2015-06-29 06:29:51 UTC
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.
Comment 5 Marek Olšák 2015-08-14 13:40:43 UTC
Added in 44dc1d307d7eacef0d6f1618ba0fb7f62e08f8. Closing.


bug/show.html.tmpl processed on Feb 19, 2017 at 11:47:19.
(provided by the Example extension).