1custom_preprocesses = {
2"glBindVertexBuffer" : """
3    ctx->bindIndexedBuffer(0, bindingindex, buffer, offset, 0, stride);
4""",
5
6"glVertexAttribBinding" : """
7    ctx->setVertexAttribBindingIndex(attribindex, bindingindex);
8""",
9
10"glVertexAttribFormat" : """
11    ctx->setVertexAttribFormat(attribindex, size, type, normalized, relativeoffset, false);
12""",
13
14"glVertexAttribIFormat" : """
15    ctx->setVertexAttribFormat(attribindex, size, type, GL_FALSE, relativeoffset, true);
16""",
17
18"glVertexBindingDivisor" : """
19    ctx->setVertexAttribDivisor(bindingindex, divisor);
20""",
21
22"glTexStorage2DMultisample" : """
23    GLint err = GL_NO_ERROR;
24    GLenum format, type;
25    GLESv2Validate::getCompatibleFormatTypeForInternalFormat(internalformat, &format, &type);
26    sPrepareTexImage2D(target, 0, (GLint)internalformat, width, height, 0, format, type, NULL, &type, (GLint*)&internalformat, &err);
27    SET_ERROR_IF(err != GL_NO_ERROR, err);
28""",
29}
30
31custom_postprocesses = {
32}
33
34custom_share_processing = {
35}
36
37no_passthrough = {
38}