| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
<ratified href="OES_standard_derivatives/"> |
| 4 |
<name>OES_standard_derivatives</name> |
| 5 |
<contact> |
| 6 |
<a href="https://www.khronos.org/webgl/public-mailing-list/">WebGL working group</a> (public_webgl 'at' khronos.org) |
| 7 |
</contact> |
| 8 |
<contributors> |
| 9 |
<contributor>Members of the WebGL working group</contributor> |
| 10 |
</contributors> |
| 11 |
<number>4</number> |
| 12 |
<depends> |
| 13 |
<api version="1.0"/> |
| 14 |
<core version="2.0"> |
| 15 |
<glsl version="300 es"/> |
| 16 |
</core> |
| 17 |
</depends> |
| 18 |
<overview> |
| 19 |
<mirrors href="http://www.khronos.org/registry/gles/extensions/OES/OES_standard_derivatives.txt" name="OES_standard_derivatives" /> |
| 20 |
<features> |
| 21 |
<feature> |
| 22 |
The <code>hint</code> entry point accepts <code>FRAGMENT_SHADER_DERIVATIVE_HINT_OES</code> |
| 23 |
as a target and the <code>getParameter</code> entry point accepts it as a pname. |
| 24 |
</feature> |
| 25 |
<glsl extname="GL_OES_standard_derivatives"> |
| 26 |
<stage type="fragment"/> |
| 27 |
<function name="dFdx" type="genType"> |
| 28 |
<param type="genType" /> |
| 29 |
</function> |
| 30 |
<function name="dFdy" type="genType"> |
| 31 |
<param type="genType" /> |
| 32 |
</function> |
| 33 |
<function name="fwidth" type="genType"> |
| 34 |
<param type="genType" /> |
| 35 |
</function> |
| 36 |
</glsl> |
| 37 |
</features> |
| 38 |
</overview> |
| 39 |
<idl xml:space="preserve"> |
| 40 |
[NoInterfaceObject] |
| 41 |
interface OES_standard_derivatives { |
| 42 |
const GLenum FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; |
| 43 |
}; |
| 44 |
</idl> |
| 45 |
<history> |
| 46 |
<revision date="2010/01/13"> |
| 47 |
<change>Initial revision.</change> |
| 48 |
</revision> |
| 49 |
<revision date="2011/12/07"> |
| 50 |
<change>Added <code>genType</code> argument and return type to function declarations.</change> |
| 51 |
</revision> |
| 52 |
<revision date="2012/01/03"> |
| 53 |
<change>Removed webgl module per changes to Web IDL spec.</change> |
| 54 |
</revision> |
| 55 |
<revision date="2013/05/15"> |
| 56 |
<change>Ratified by Khronos Board of Promoters.</change> |
| 57 |
</revision> |
| 58 |
<revision date="2014/07/15"> |
| 59 |
<change>Added NoInterfaceObject extended attribute.</change> |
| 60 |
</revision> |
| 61 |
</history> |
| 62 |
</ratified> |