Implement WebGL OES_standard_derivatives extension.

This commit is contained in:
Imanol Fernandez 2017-08-21 22:37:19 +02:00
parent d4e43d9d76
commit 1dd3899c37
9 changed files with 127 additions and 20 deletions

View file

@ -0,0 +1,12 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* WebGL IDL definitions from the Khronos specification:
* https://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
*/
[NoInterfaceObject]
interface OESStandardDerivatives {
const GLenum FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
};