[Mesa-dev] OpenGL ES token pasting support.

Ryan Houdek sonicadvance1 at gmail.com
Tue Mar 31 08:41:50 PDT 2015


I'm proposing changing from explicitly disallowing token pasting in OpenGL
ES to allowing it in a similar fashion to desktop OpenGL.
I'm proposing this for multiple reasons:
    - The Dolphin emulator uses it, and has been broken with Mesa's OpenGL
ES for a number of months.
    - A number of proprietary vendors support it even though ESSL3/3.1 spec
explicitly disallows it

The vendors that I know of that support token pasting under OpenGL ES:
    - Qualcomm Adreno
    - ARM Mali
    - Nvidia Tegra (OpenGL ES)

The vendors that I haven't tested against:
    - IMGTec PowerVR
    - Vivante
    - Android Intel (Uses something other than Mesa apparently?)
    - iOSs (They have a complete in-house shader compiler)

So I think Mesa should allow token pasting even though the spec says not
to. Mainly because I want to get Dolphin working under OpenGL ES with Mesa
again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150331/329b18ff/attachment-0001.html>


More information about the mesa-dev mailing list