[Mesa-dev] GL_OES_standard_derivatives define
Rogovin, Kevin
kevin.rogovin at intel.com
Thu Jul 31 23:45:11 PDT 2014
Hi,
A long time back in May, I made a very small patch to the GLSL pre-processor
to define the symbol GL_OES_standard_derivatives (as 1), if the extension is
supported. Without that patch, shaders that detect if they can use dFdx, dFdy
and fwidth via #ifdef's do not function correctly (namely they take the path that
does not used derivatives). The patch was infinitesimally small, a linky to the original
post is here:
http://lists.freedesktop.org/archives/mesa-dev/2014-May/059689.html
I would love to see some comments, or if it is fine, a push to Mesa.
-Kevin Rogovin
More information about the mesa-dev
mailing list