mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-26 07:35:37 +00:00
Add support for GL_OES_texture_storage_multisample_2d_array
This commit is contained in:
committed by
Baldur Karlsson
parent
4a3a0964d0
commit
818f7223d3
@@ -754,6 +754,7 @@ void WrappedOpenGL::BuildGLESExtensions()
|
||||
m_GLESExtensions.push_back("GL_OES_texture_half_float_linear");
|
||||
m_GLESExtensions.push_back("GL_OES_primitive_bounding_box");
|
||||
m_GLESExtensions.push_back("GL_OES_vertex_array_object");
|
||||
m_GLESExtensions.push_back("GL_OES_texture_storage_multisample_2d_array");
|
||||
|
||||
m_GLESExtensions.push_back("GL_EXT_copy_image");
|
||||
m_GLESExtensions.push_back("GL_EXT_disjoint_timer_query");
|
||||
|
||||
@@ -112,7 +112,7 @@ struct GLHookSet
|
||||
PFNGLTEXSTORAGE2DPROC glTexStorage2D;
|
||||
PFNGLTEXSTORAGE3DPROC glTexStorage3D;
|
||||
PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample;
|
||||
PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample;
|
||||
PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; // aliases glTexStorage3DMultisampleOES
|
||||
PFNGLTEXIMAGE3DPROC glTexImage3D; // aliases glTexImage3DEXT
|
||||
PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D;
|
||||
PFNGLTEXBUFFERPROC glTexBuffer; // aliases glTexBufferARB, glTexBufferEXT, glTexBufferOES
|
||||
|
||||
@@ -834,6 +834,7 @@
|
||||
HookExtensionAlias(PFNGLTEXBUFFERRANGEPROC, glTexBufferRange, glTexBufferRangeOES); \
|
||||
HookExtension(PFNGLTEXSTORAGE2DMULTISAMPLEPROC, glTexStorage2DMultisample); \
|
||||
HookExtension(PFNGLTEXSTORAGE3DMULTISAMPLEPROC, glTexStorage3DMultisample); \
|
||||
HookExtensionAlias(PFNGLTEXSTORAGE3DMULTISAMPLEPROC, glTexStorage3DMultisample, glTexStorage3DMultisampleOES); \
|
||||
HookExtension(PFNGLTEXTUREVIEWPROC, glTextureView); \
|
||||
HookExtension(PFNGLBINDVERTEXBUFFERPROC, glBindVertexBuffer); \
|
||||
HookExtension(PFNGLVERTEXATTRIBFORMATPROC, glVertexAttribFormat); \
|
||||
@@ -3571,7 +3572,6 @@
|
||||
HookWrapper9(void, glcompressedteximage3does, GLenum, target, GLint, level, GLenum, internalformat, GLsizei, width, GLsizei, height, GLsizei, depth, GLint, border, GLsizei, imageSize, const void *, data); \
|
||||
HookWrapper11(void, glcompressedtexsubimage3does, GLenum, target, GLint, level, GLint, xoffset, GLint, yoffset, GLint, zoffset, GLsizei, width, GLsizei, height, GLsizei, depth, GLenum, format, GLsizei, imageSize, const void *, data); \
|
||||
HookWrapper6(void, glframebuffertexture3does, GLenum, target, GLenum, attachment, GLenum, textarget, GLuint, texture, GLint, level, GLint, zoffset); \
|
||||
HookWrapper7(void, gltexstorage3dmultisampleoes, GLenum, target, GLsizei, samples, GLenum, internalformat, GLsizei, width, GLsizei, height, GLsizei, depth, GLboolean, fixedsamplelocations); \
|
||||
HookWrapper8(void, gltextureviewoes, GLuint, texture, GLenum, target, GLuint, origtexture, GLenum, internalformat, GLuint, minlevel, GLuint, numlevels, GLuint, minlayer, GLuint, numlayers); \
|
||||
HookWrapper3(void, glviewportarrayvoes, GLuint, first, GLsizei, count, const GLfloat *, v); \
|
||||
HookWrapper5(void, glviewportindexedfoes, GLuint, index, GLfloat, x, GLfloat, y, GLfloat, w, GLfloat, h); \
|
||||
@@ -5554,7 +5554,6 @@
|
||||
HandleUnsupported(PFNGLCOMPRESSEDTEXIMAGE3DOESPROC, glcompressedteximage3does); \
|
||||
HandleUnsupported(PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC, glcompressedtexsubimage3does); \
|
||||
HandleUnsupported(PFNGLFRAMEBUFFERTEXTURE3DOESPROC, glframebuffertexture3does); \
|
||||
HandleUnsupported(PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC, gltexstorage3dmultisampleoes); \
|
||||
HandleUnsupported(PFNGLTEXTUREVIEWOESPROC, gltextureviewoes); \
|
||||
HandleUnsupported(PFNGLVIEWPORTARRAYVOESPROC, glviewportarrayvoes); \
|
||||
HandleUnsupported(PFNGLVIEWPORTINDEXEDFOESPROC, glviewportindexedfoes); \
|
||||
|
||||
Reference in New Issue
Block a user