mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add support for WebGL2 GetFragDataLocation
Adds support for the `GetFragDataLocation` WebGL2 call. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.7
This commit is contained in:
parent
e1f6dfd716
commit
ced67af6b2
9 changed files with 62 additions and 32 deletions
|
@ -422,7 +422,7 @@ interface mixin WebGL2RenderingContextBase
|
|||
// optional GLuint srcLengthOverride = 0);
|
||||
|
||||
/* Programs and shaders */
|
||||
// [WebGLHandlesContextLoss] GLint getFragDataLocation(WebGLProgram program, DOMString name);
|
||||
[WebGLHandlesContextLoss] GLint getFragDataLocation(WebGLProgram program, DOMString name);
|
||||
|
||||
/* Uniforms */
|
||||
void uniform1ui(WebGLUniformLocation? location, GLuint v0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue