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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to