mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 16:41:57 +00:00
Generate Sources of origin/master updated at Sun Jul 24 17:46:13 GMT 2016
This commit is contained in:
parent
e3fe70d1dc
commit
834284b7ee
@ -4675,6 +4675,22 @@ typedef void (GLAPIENTRY * PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint l
|
||||
|
||||
#endif /* GL_ARB_get_texture_sub_image */
|
||||
|
||||
/* ---------------------------- GL_ARB_gl_spirv ---------------------------- */
|
||||
|
||||
#ifndef GL_ARB_gl_spirv
|
||||
#define GL_ARB_gl_spirv 1
|
||||
|
||||
#define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551
|
||||
#define GL_SPIR_V_BINARY_ARB 0x9552
|
||||
|
||||
typedef void (GLAPIENTRY * PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar* pEntryPoint, GLuint numSpecializationConstants, const GLuint* pConstantIndex, const GLuint* pConstantValue);
|
||||
|
||||
#define glSpecializeShaderARB GLEW_GET_FUN(__glewSpecializeShaderARB)
|
||||
|
||||
#define GLEW_ARB_gl_spirv GLEW_GET_VAR(__GLEW_ARB_gl_spirv)
|
||||
|
||||
#endif /* GL_ARB_gl_spirv */
|
||||
|
||||
/* --------------------------- GL_ARB_gpu_shader5 -------------------------- */
|
||||
|
||||
#ifndef GL_ARB_gpu_shader5
|
||||
@ -12332,6 +12348,15 @@ typedef void (GLAPIENTRY * PFNGLRESIZEBUFFERSMESAPROC) (void);
|
||||
|
||||
#endif /* GL_MESA_resize_buffers */
|
||||
|
||||
/* -------------------- GL_MESA_shader_integer_functions ------------------- */
|
||||
|
||||
#ifndef GL_MESA_shader_integer_functions
|
||||
#define GL_MESA_shader_integer_functions 1
|
||||
|
||||
#define GLEW_MESA_shader_integer_functions GLEW_GET_VAR(__GLEW_MESA_shader_integer_functions)
|
||||
|
||||
#endif /* GL_MESA_shader_integer_functions */
|
||||
|
||||
/* --------------------------- GL_MESA_window_pos -------------------------- */
|
||||
|
||||
#ifndef GL_MESA_window_pos
|
||||
@ -12404,6 +12429,15 @@ typedef void (GLAPIENTRY * PFNGLWINDOWPOS4SVMESAPROC) (const GLshort* p);
|
||||
|
||||
#endif /* GL_MESA_ycbcr_texture */
|
||||
|
||||
/* ----------- GL_NVX_blend_equation_advanced_multi_draw_buffers ----------- */
|
||||
|
||||
#ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
|
||||
#define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
|
||||
|
||||
#define GLEW_NVX_blend_equation_advanced_multi_draw_buffers GLEW_GET_VAR(__GLEW_NVX_blend_equation_advanced_multi_draw_buffers)
|
||||
|
||||
#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
|
||||
|
||||
/* ----------------------- GL_NVX_conditional_render ----------------------- */
|
||||
|
||||
#ifndef GL_NVX_conditional_render
|
||||
@ -13217,6 +13251,47 @@ typedef void (GLAPIENTRY * PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint
|
||||
|
||||
#endif /* GL_NV_geometry_shader_passthrough */
|
||||
|
||||
/* -------------------------- GL_NV_gpu_multicast -------------------------- */
|
||||
|
||||
#ifndef GL_NV_gpu_multicast
|
||||
#define GL_NV_gpu_multicast 1
|
||||
|
||||
#define GL_PER_GPU_STORAGE_BIT_NV 0x0800
|
||||
#define GL_MULTICAST_GPUS_NV 0x92BA
|
||||
#define GL_PER_GPU_STORAGE_NV 0x9548
|
||||
#define GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9549
|
||||
#define GL_RENDER_GPU_MASK_NV 0x9558
|
||||
|
||||
typedef void (GLAPIENTRY * PFNGLMULTICASTBARRIERNVPROC) (void);
|
||||
typedef void (GLAPIENTRY * PFNGLMULTICASTBLITFRAMEBUFFERNVPROC) (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
|
||||
typedef void (GLAPIENTRY * PFNGLMULTICASTBUFFERSUBDATANVPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
|
||||
typedef void (GLAPIENTRY * PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC) (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
|
||||
typedef void (GLAPIENTRY * PFNGLMULTICASTCOPYIMAGESUBDATANVPROC) (GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
|
||||
typedef void (GLAPIENTRY * PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat* v);
|
||||
typedef void (GLAPIENTRY * PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint64* params);
|
||||
typedef void (GLAPIENTRY * PFNGLMULTICASTGETQUERYOBJECTIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint* params);
|
||||
typedef void (GLAPIENTRY * PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint64* params);
|
||||
typedef void (GLAPIENTRY * PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint* params);
|
||||
typedef void (GLAPIENTRY * PFNGLMULTICASTWAITSYNCNVPROC) (GLuint signalGpu, GLbitfield waitGpuMask);
|
||||
typedef void (GLAPIENTRY * PFNGLRENDERGPUMASKNVPROC) (GLbitfield mask);
|
||||
|
||||
#define glMulticastBarrierNV GLEW_GET_FUN(__glewMulticastBarrierNV)
|
||||
#define glMulticastBlitFramebufferNV GLEW_GET_FUN(__glewMulticastBlitFramebufferNV)
|
||||
#define glMulticastBufferSubDataNV GLEW_GET_FUN(__glewMulticastBufferSubDataNV)
|
||||
#define glMulticastCopyBufferSubDataNV GLEW_GET_FUN(__glewMulticastCopyBufferSubDataNV)
|
||||
#define glMulticastCopyImageSubDataNV GLEW_GET_FUN(__glewMulticastCopyImageSubDataNV)
|
||||
#define glMulticastFramebufferSampleLocationsfvNV GLEW_GET_FUN(__glewMulticastFramebufferSampleLocationsfvNV)
|
||||
#define glMulticastGetQueryObjecti64vNV GLEW_GET_FUN(__glewMulticastGetQueryObjecti64vNV)
|
||||
#define glMulticastGetQueryObjectivNV GLEW_GET_FUN(__glewMulticastGetQueryObjectivNV)
|
||||
#define glMulticastGetQueryObjectui64vNV GLEW_GET_FUN(__glewMulticastGetQueryObjectui64vNV)
|
||||
#define glMulticastGetQueryObjectuivNV GLEW_GET_FUN(__glewMulticastGetQueryObjectuivNV)
|
||||
#define glMulticastWaitSyncNV GLEW_GET_FUN(__glewMulticastWaitSyncNV)
|
||||
#define glRenderGpuMaskNV GLEW_GET_FUN(__glewRenderGpuMaskNV)
|
||||
|
||||
#define GLEW_NV_gpu_multicast GLEW_GET_VAR(__GLEW_NV_gpu_multicast)
|
||||
|
||||
#endif /* GL_NV_gpu_multicast */
|
||||
|
||||
/* --------------------------- GL_NV_gpu_program4 -------------------------- */
|
||||
|
||||
#ifndef GL_NV_gpu_program4
|
||||
@ -17290,6 +17365,8 @@ GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETERIPROC __glewProgramParameteri;
|
||||
GLEW_FUN_EXPORT PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC __glewGetCompressedTextureSubImage;
|
||||
GLEW_FUN_EXPORT PFNGLGETTEXTURESUBIMAGEPROC __glewGetTextureSubImage;
|
||||
|
||||
GLEW_FUN_EXPORT PFNGLSPECIALIZESHADERARBPROC __glewSpecializeShaderARB;
|
||||
|
||||
GLEW_FUN_EXPORT PFNGLGETUNIFORMDVPROC __glewGetUniformdv;
|
||||
GLEW_FUN_EXPORT PFNGLUNIFORM1DPROC __glewUniform1d;
|
||||
GLEW_FUN_EXPORT PFNGLUNIFORM1DVPROC __glewUniform1dv;
|
||||
@ -18775,6 +18852,19 @@ GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC __glewRenderbu
|
||||
|
||||
GLEW_FUN_EXPORT PFNGLPROGRAMVERTEXLIMITNVPROC __glewProgramVertexLimitNV;
|
||||
|
||||
GLEW_FUN_EXPORT PFNGLMULTICASTBARRIERNVPROC __glewMulticastBarrierNV;
|
||||
GLEW_FUN_EXPORT PFNGLMULTICASTBLITFRAMEBUFFERNVPROC __glewMulticastBlitFramebufferNV;
|
||||
GLEW_FUN_EXPORT PFNGLMULTICASTBUFFERSUBDATANVPROC __glewMulticastBufferSubDataNV;
|
||||
GLEW_FUN_EXPORT PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC __glewMulticastCopyBufferSubDataNV;
|
||||
GLEW_FUN_EXPORT PFNGLMULTICASTCOPYIMAGESUBDATANVPROC __glewMulticastCopyImageSubDataNV;
|
||||
GLEW_FUN_EXPORT PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC __glewMulticastFramebufferSampleLocationsfvNV;
|
||||
GLEW_FUN_EXPORT PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC __glewMulticastGetQueryObjecti64vNV;
|
||||
GLEW_FUN_EXPORT PFNGLMULTICASTGETQUERYOBJECTIVNVPROC __glewMulticastGetQueryObjectivNV;
|
||||
GLEW_FUN_EXPORT PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC __glewMulticastGetQueryObjectui64vNV;
|
||||
GLEW_FUN_EXPORT PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC __glewMulticastGetQueryObjectuivNV;
|
||||
GLEW_FUN_EXPORT PFNGLMULTICASTWAITSYNCNVPROC __glewMulticastWaitSyncNV;
|
||||
GLEW_FUN_EXPORT PFNGLRENDERGPUMASKNVPROC __glewRenderGpuMaskNV;
|
||||
|
||||
GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERI4INVPROC __glewProgramEnvParameterI4iNV;
|
||||
GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERI4IVNVPROC __glewProgramEnvParameterI4ivNV;
|
||||
GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERI4UINVPROC __glewProgramEnvParameterI4uiNV;
|
||||
@ -19478,6 +19568,7 @@ GLEW_VAR_EXPORT GLboolean __GLEW_ARB_framebuffer_sRGB;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARB_geometry_shader4;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARB_get_program_binary;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARB_get_texture_sub_image;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARB_gl_spirv;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARB_gpu_shader5;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARB_gpu_shader_fp64;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_ARB_gpu_shader_int64;
|
||||
@ -19763,8 +19854,10 @@ GLEW_VAR_EXPORT GLboolean __GLEW_KTX_buffer_region;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_MESAX_texture_stack;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_MESA_pack_invert;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_MESA_resize_buffers;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_MESA_shader_integer_functions;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_MESA_window_pos;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_MESA_ycbcr_texture;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NVX_blend_equation_advanced_multi_draw_buffers;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NVX_conditional_render;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NVX_gpu_memory_info;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NVX_linked_gpu_multicast;
|
||||
@ -19806,6 +19899,7 @@ GLEW_VAR_EXPORT GLboolean __GLEW_NV_framebuffer_multisample_coverage;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NV_geometry_program4;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NV_geometry_shader4;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NV_geometry_shader_passthrough;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_multicast;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_program4;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_program5;
|
||||
GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_program5_mem_extended;
|
||||
|
118
src/glew.c
118
src/glew.c
@ -932,6 +932,8 @@ PFNGLPROGRAMPARAMETERIPROC __glewProgramParameteri = NULL;
|
||||
PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC __glewGetCompressedTextureSubImage = NULL;
|
||||
PFNGLGETTEXTURESUBIMAGEPROC __glewGetTextureSubImage = NULL;
|
||||
|
||||
PFNGLSPECIALIZESHADERARBPROC __glewSpecializeShaderARB = NULL;
|
||||
|
||||
PFNGLGETUNIFORMDVPROC __glewGetUniformdv = NULL;
|
||||
PFNGLUNIFORM1DPROC __glewUniform1d = NULL;
|
||||
PFNGLUNIFORM1DVPROC __glewUniform1dv = NULL;
|
||||
@ -2417,6 +2419,19 @@ PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC __glewRenderbufferStorageMulti
|
||||
|
||||
PFNGLPROGRAMVERTEXLIMITNVPROC __glewProgramVertexLimitNV = NULL;
|
||||
|
||||
PFNGLMULTICASTBARRIERNVPROC __glewMulticastBarrierNV = NULL;
|
||||
PFNGLMULTICASTBLITFRAMEBUFFERNVPROC __glewMulticastBlitFramebufferNV = NULL;
|
||||
PFNGLMULTICASTBUFFERSUBDATANVPROC __glewMulticastBufferSubDataNV = NULL;
|
||||
PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC __glewMulticastCopyBufferSubDataNV = NULL;
|
||||
PFNGLMULTICASTCOPYIMAGESUBDATANVPROC __glewMulticastCopyImageSubDataNV = NULL;
|
||||
PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC __glewMulticastFramebufferSampleLocationsfvNV = NULL;
|
||||
PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC __glewMulticastGetQueryObjecti64vNV = NULL;
|
||||
PFNGLMULTICASTGETQUERYOBJECTIVNVPROC __glewMulticastGetQueryObjectivNV = NULL;
|
||||
PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC __glewMulticastGetQueryObjectui64vNV = NULL;
|
||||
PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC __glewMulticastGetQueryObjectuivNV = NULL;
|
||||
PFNGLMULTICASTWAITSYNCNVPROC __glewMulticastWaitSyncNV = NULL;
|
||||
PFNGLRENDERGPUMASKNVPROC __glewRenderGpuMaskNV = NULL;
|
||||
|
||||
PFNGLPROGRAMENVPARAMETERI4INVPROC __glewProgramEnvParameterI4iNV = NULL;
|
||||
PFNGLPROGRAMENVPARAMETERI4IVNVPROC __glewProgramEnvParameterI4ivNV = NULL;
|
||||
PFNGLPROGRAMENVPARAMETERI4UINVPROC __glewProgramEnvParameterI4uiNV = NULL;
|
||||
@ -3121,6 +3136,7 @@ GLboolean __GLEW_ARB_framebuffer_sRGB = GL_FALSE;
|
||||
GLboolean __GLEW_ARB_geometry_shader4 = GL_FALSE;
|
||||
GLboolean __GLEW_ARB_get_program_binary = GL_FALSE;
|
||||
GLboolean __GLEW_ARB_get_texture_sub_image = GL_FALSE;
|
||||
GLboolean __GLEW_ARB_gl_spirv = GL_FALSE;
|
||||
GLboolean __GLEW_ARB_gpu_shader5 = GL_FALSE;
|
||||
GLboolean __GLEW_ARB_gpu_shader_fp64 = GL_FALSE;
|
||||
GLboolean __GLEW_ARB_gpu_shader_int64 = GL_FALSE;
|
||||
@ -3406,8 +3422,10 @@ GLboolean __GLEW_KTX_buffer_region = GL_FALSE;
|
||||
GLboolean __GLEW_MESAX_texture_stack = GL_FALSE;
|
||||
GLboolean __GLEW_MESA_pack_invert = GL_FALSE;
|
||||
GLboolean __GLEW_MESA_resize_buffers = GL_FALSE;
|
||||
GLboolean __GLEW_MESA_shader_integer_functions = GL_FALSE;
|
||||
GLboolean __GLEW_MESA_window_pos = GL_FALSE;
|
||||
GLboolean __GLEW_MESA_ycbcr_texture = GL_FALSE;
|
||||
GLboolean __GLEW_NVX_blend_equation_advanced_multi_draw_buffers = GL_FALSE;
|
||||
GLboolean __GLEW_NVX_conditional_render = GL_FALSE;
|
||||
GLboolean __GLEW_NVX_gpu_memory_info = GL_FALSE;
|
||||
GLboolean __GLEW_NVX_linked_gpu_multicast = GL_FALSE;
|
||||
@ -3449,6 +3467,7 @@ GLboolean __GLEW_NV_framebuffer_multisample_coverage = GL_FALSE;
|
||||
GLboolean __GLEW_NV_geometry_program4 = GL_FALSE;
|
||||
GLboolean __GLEW_NV_geometry_shader4 = GL_FALSE;
|
||||
GLboolean __GLEW_NV_geometry_shader_passthrough = GL_FALSE;
|
||||
GLboolean __GLEW_NV_gpu_multicast = GL_FALSE;
|
||||
GLboolean __GLEW_NV_gpu_program4 = GL_FALSE;
|
||||
GLboolean __GLEW_NV_gpu_program5 = GL_FALSE;
|
||||
GLboolean __GLEW_NV_gpu_program5_mem_extended = GL_FALSE;
|
||||
@ -3976,6 +3995,9 @@ static const char * _glewExtensionLookup[] = {
|
||||
#ifdef GL_ARB_get_texture_sub_image
|
||||
"GL_ARB_get_texture_sub_image",
|
||||
#endif
|
||||
#ifdef GL_ARB_gl_spirv
|
||||
"GL_ARB_gl_spirv",
|
||||
#endif
|
||||
#ifdef GL_ARB_gpu_shader5
|
||||
"GL_ARB_gpu_shader5",
|
||||
#endif
|
||||
@ -4831,12 +4853,18 @@ static const char * _glewExtensionLookup[] = {
|
||||
#ifdef GL_MESA_resize_buffers
|
||||
"GL_MESA_resize_buffers",
|
||||
#endif
|
||||
#ifdef GL_MESA_shader_integer_functions
|
||||
"GL_MESA_shader_integer_functions",
|
||||
#endif
|
||||
#ifdef GL_MESA_window_pos
|
||||
"GL_MESA_window_pos",
|
||||
#endif
|
||||
#ifdef GL_MESA_ycbcr_texture
|
||||
"GL_MESA_ycbcr_texture",
|
||||
#endif
|
||||
#ifdef GL_NVX_blend_equation_advanced_multi_draw_buffers
|
||||
"GL_NVX_blend_equation_advanced_multi_draw_buffers",
|
||||
#endif
|
||||
#ifdef GL_NVX_conditional_render
|
||||
"GL_NVX_conditional_render",
|
||||
#endif
|
||||
@ -4960,6 +4988,9 @@ static const char * _glewExtensionLookup[] = {
|
||||
#ifdef GL_NV_geometry_shader_passthrough
|
||||
"GL_NV_geometry_shader_passthrough",
|
||||
#endif
|
||||
#ifdef GL_NV_gpu_multicast
|
||||
"GL_NV_gpu_multicast",
|
||||
#endif
|
||||
#ifdef GL_NV_gpu_program4
|
||||
"GL_NV_gpu_program4",
|
||||
#endif
|
||||
@ -5396,7 +5427,7 @@ static const char * _glewExtensionLookup[] = {
|
||||
};
|
||||
|
||||
/* Detected in the extension string or strings */
|
||||
static GLboolean _glewExtensionString[599];
|
||||
static GLboolean _glewExtensionString[603];
|
||||
/* Detected via extension string or experimental mode */
|
||||
static GLboolean* _glewExtensionEnabled[] = {
|
||||
#ifdef GL_VERSION_1_2
|
||||
@ -5780,6 +5811,9 @@ static GLboolean* _glewExtensionEnabled[] = {
|
||||
#ifdef GL_ARB_get_texture_sub_image
|
||||
&__GLEW_ARB_get_texture_sub_image,
|
||||
#endif
|
||||
#ifdef GL_ARB_gl_spirv
|
||||
&__GLEW_ARB_gl_spirv,
|
||||
#endif
|
||||
#ifdef GL_ARB_gpu_shader5
|
||||
&__GLEW_ARB_gpu_shader5,
|
||||
#endif
|
||||
@ -6635,12 +6669,18 @@ static GLboolean* _glewExtensionEnabled[] = {
|
||||
#ifdef GL_MESA_resize_buffers
|
||||
&__GLEW_MESA_resize_buffers,
|
||||
#endif
|
||||
#ifdef GL_MESA_shader_integer_functions
|
||||
&__GLEW_MESA_shader_integer_functions,
|
||||
#endif
|
||||
#ifdef GL_MESA_window_pos
|
||||
&__GLEW_MESA_window_pos,
|
||||
#endif
|
||||
#ifdef GL_MESA_ycbcr_texture
|
||||
&__GLEW_MESA_ycbcr_texture,
|
||||
#endif
|
||||
#ifdef GL_NVX_blend_equation_advanced_multi_draw_buffers
|
||||
&__GLEW_NVX_blend_equation_advanced_multi_draw_buffers,
|
||||
#endif
|
||||
#ifdef GL_NVX_conditional_render
|
||||
&__GLEW_NVX_conditional_render,
|
||||
#endif
|
||||
@ -6764,6 +6804,9 @@ static GLboolean* _glewExtensionEnabled[] = {
|
||||
#ifdef GL_NV_geometry_shader_passthrough
|
||||
&__GLEW_NV_geometry_shader_passthrough,
|
||||
#endif
|
||||
#ifdef GL_NV_gpu_multicast
|
||||
&__GLEW_NV_gpu_multicast,
|
||||
#endif
|
||||
#ifdef GL_NV_gpu_program4
|
||||
&__GLEW_NV_gpu_program4,
|
||||
#endif
|
||||
@ -7262,6 +7305,7 @@ static GLboolean _glewInit_GL_ARB_framebuffer_object ();
|
||||
static GLboolean _glewInit_GL_ARB_geometry_shader4 ();
|
||||
static GLboolean _glewInit_GL_ARB_get_program_binary ();
|
||||
static GLboolean _glewInit_GL_ARB_get_texture_sub_image ();
|
||||
static GLboolean _glewInit_GL_ARB_gl_spirv ();
|
||||
static GLboolean _glewInit_GL_ARB_gpu_shader_fp64 ();
|
||||
static GLboolean _glewInit_GL_ARB_gpu_shader_int64 ();
|
||||
static GLboolean _glewInit_GL_ARB_imaging ();
|
||||
@ -7427,6 +7471,7 @@ static GLboolean _glewInit_GL_NV_fragment_coverage_to_color ();
|
||||
static GLboolean _glewInit_GL_NV_fragment_program ();
|
||||
static GLboolean _glewInit_GL_NV_framebuffer_multisample_coverage ();
|
||||
static GLboolean _glewInit_GL_NV_geometry_program4 ();
|
||||
static GLboolean _glewInit_GL_NV_gpu_multicast ();
|
||||
static GLboolean _glewInit_GL_NV_gpu_program4 ();
|
||||
static GLboolean _glewInit_GL_NV_gpu_shader5 ();
|
||||
static GLboolean _glewInit_GL_NV_half_float ();
|
||||
@ -8824,6 +8869,19 @@ static GLboolean _glewInit_GL_ARB_get_texture_sub_image ()
|
||||
|
||||
#endif /* GL_ARB_get_texture_sub_image */
|
||||
|
||||
#ifdef GL_ARB_gl_spirv
|
||||
|
||||
static GLboolean _glewInit_GL_ARB_gl_spirv ()
|
||||
{
|
||||
GLboolean r = GL_FALSE;
|
||||
|
||||
r = ((glSpecializeShaderARB = (PFNGLSPECIALIZESHADERARBPROC)glewGetProcAddress((const GLubyte*)"glSpecializeShaderARB")) == NULL) || r;
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
#endif /* GL_ARB_gl_spirv */
|
||||
|
||||
#ifdef GL_ARB_gpu_shader_fp64
|
||||
|
||||
static GLboolean _glewInit_GL_ARB_gpu_shader_fp64 ()
|
||||
@ -12125,6 +12183,30 @@ static GLboolean _glewInit_GL_NV_geometry_program4 ()
|
||||
|
||||
#endif /* GL_NV_geometry_program4 */
|
||||
|
||||
#ifdef GL_NV_gpu_multicast
|
||||
|
||||
static GLboolean _glewInit_GL_NV_gpu_multicast ()
|
||||
{
|
||||
GLboolean r = GL_FALSE;
|
||||
|
||||
r = ((glMulticastBarrierNV = (PFNGLMULTICASTBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastBarrierNV")) == NULL) || r;
|
||||
r = ((glMulticastBlitFramebufferNV = (PFNGLMULTICASTBLITFRAMEBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastBlitFramebufferNV")) == NULL) || r;
|
||||
r = ((glMulticastBufferSubDataNV = (PFNGLMULTICASTBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glMulticastBufferSubDataNV")) == NULL) || r;
|
||||
r = ((glMulticastCopyBufferSubDataNV = (PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glMulticastCopyBufferSubDataNV")) == NULL) || r;
|
||||
r = ((glMulticastCopyImageSubDataNV = (PFNGLMULTICASTCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glMulticastCopyImageSubDataNV")) == NULL) || r;
|
||||
r = ((glMulticastFramebufferSampleLocationsfvNV = (PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastFramebufferSampleLocationsfvNV")) == NULL) || r;
|
||||
r = ((glMulticastGetQueryObjecti64vNV = (PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjecti64vNV")) == NULL) || r;
|
||||
r = ((glMulticastGetQueryObjectivNV = (PFNGLMULTICASTGETQUERYOBJECTIVNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjectivNV")) == NULL) || r;
|
||||
r = ((glMulticastGetQueryObjectui64vNV = (PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjectui64vNV")) == NULL) || r;
|
||||
r = ((glMulticastGetQueryObjectuivNV = (PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjectuivNV")) == NULL) || r;
|
||||
r = ((glMulticastWaitSyncNV = (PFNGLMULTICASTWAITSYNCNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastWaitSyncNV")) == NULL) || r;
|
||||
r = ((glRenderGpuMaskNV = (PFNGLRENDERGPUMASKNVPROC)glewGetProcAddress((const GLubyte*)"glRenderGpuMaskNV")) == NULL) || r;
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
#endif /* GL_NV_gpu_multicast */
|
||||
|
||||
#ifdef GL_NV_gpu_program4
|
||||
|
||||
static GLboolean _glewInit_GL_NV_gpu_program4 ()
|
||||
@ -13715,6 +13797,9 @@ static GLenum GLEWAPIENTRY glewContextInit ()
|
||||
#ifdef GL_ARB_get_texture_sub_image
|
||||
if (glewExperimental || GLEW_ARB_get_texture_sub_image) GLEW_ARB_get_texture_sub_image = !_glewInit_GL_ARB_get_texture_sub_image();
|
||||
#endif /* GL_ARB_get_texture_sub_image */
|
||||
#ifdef GL_ARB_gl_spirv
|
||||
if (glewExperimental || GLEW_ARB_gl_spirv) GLEW_ARB_gl_spirv = !_glewInit_GL_ARB_gl_spirv();
|
||||
#endif /* GL_ARB_gl_spirv */
|
||||
#ifdef GL_ARB_gpu_shader_fp64
|
||||
if (glewExperimental || GLEW_ARB_gpu_shader_fp64) GLEW_ARB_gpu_shader_fp64 = !_glewInit_GL_ARB_gpu_shader_fp64();
|
||||
#endif /* GL_ARB_gpu_shader_fp64 */
|
||||
@ -14210,6 +14295,9 @@ static GLenum GLEWAPIENTRY glewContextInit ()
|
||||
#ifdef GL_NV_geometry_program4
|
||||
if (glewExperimental || GLEW_NV_geometry_program4) GLEW_NV_geometry_program4 = !_glewInit_GL_NV_geometry_program4();
|
||||
#endif /* GL_NV_geometry_program4 */
|
||||
#ifdef GL_NV_gpu_multicast
|
||||
if (glewExperimental || GLEW_NV_gpu_multicast) GLEW_NV_gpu_multicast = !_glewInit_GL_NV_gpu_multicast();
|
||||
#endif /* GL_NV_gpu_multicast */
|
||||
#ifdef GL_NV_gpu_program4
|
||||
if (glewExperimental || GLEW_NV_gpu_program4) GLEW_NV_gpu_program4 = !_glewInit_GL_NV_gpu_program4();
|
||||
#endif /* GL_NV_gpu_program4 */
|
||||
@ -18672,6 +18760,13 @@ GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef GL_ARB_gl_spirv
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_spirv", 8))
|
||||
{
|
||||
ret = GLEW_ARB_gl_spirv;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef GL_ARB_gpu_shader5
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11))
|
||||
{
|
||||
@ -20706,6 +20801,13 @@ GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef GL_MESA_shader_integer_functions
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_integer_functions", 24))
|
||||
{
|
||||
ret = GLEW_MESA_shader_integer_functions;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef GL_MESA_window_pos
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10))
|
||||
{
|
||||
@ -20723,6 +20825,13 @@ GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
|
||||
}
|
||||
if (_glewStrSame2(&pos, &len, (const GLubyte*)"NVX_", 4))
|
||||
{
|
||||
#ifdef GL_NVX_blend_equation_advanced_multi_draw_buffers
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced_multi_draw_buffers", 42))
|
||||
{
|
||||
ret = GLEW_NVX_blend_equation_advanced_multi_draw_buffers;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef GL_NVX_conditional_render
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"conditional_render", 18))
|
||||
{
|
||||
@ -21013,6 +21122,13 @@ GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef GL_NV_gpu_multicast
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_multicast", 13))
|
||||
{
|
||||
ret = GLEW_NV_gpu_multicast;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef GL_NV_gpu_program4
|
||||
if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program4", 12))
|
||||
{
|
||||
|
@ -1886,6 +1886,17 @@ static void _glewInfo_GL_ARB_get_texture_sub_image (void)
|
||||
|
||||
#endif /* GL_ARB_get_texture_sub_image */
|
||||
|
||||
#ifdef GL_ARB_gl_spirv
|
||||
|
||||
static void _glewInfo_GL_ARB_gl_spirv (void)
|
||||
{
|
||||
glewPrintExt("GL_ARB_gl_spirv", GLEW_ARB_gl_spirv, glewIsSupported("GL_ARB_gl_spirv"), glewGetExtension("GL_ARB_gl_spirv"));
|
||||
|
||||
glewInfoFunc("glSpecializeShaderARB", glSpecializeShaderARB == NULL);
|
||||
}
|
||||
|
||||
#endif /* GL_ARB_gl_spirv */
|
||||
|
||||
#ifdef GL_ARB_gpu_shader5
|
||||
|
||||
static void _glewInfo_GL_ARB_gpu_shader5 (void)
|
||||
@ -5804,6 +5815,15 @@ static void _glewInfo_GL_MESA_resize_buffers (void)
|
||||
|
||||
#endif /* GL_MESA_resize_buffers */
|
||||
|
||||
#ifdef GL_MESA_shader_integer_functions
|
||||
|
||||
static void _glewInfo_GL_MESA_shader_integer_functions (void)
|
||||
{
|
||||
glewPrintExt("GL_MESA_shader_integer_functions", GLEW_MESA_shader_integer_functions, glewIsSupported("GL_MESA_shader_integer_functions"), glewGetExtension("GL_MESA_shader_integer_functions"));
|
||||
}
|
||||
|
||||
#endif /* GL_MESA_shader_integer_functions */
|
||||
|
||||
#ifdef GL_MESA_window_pos
|
||||
|
||||
static void _glewInfo_GL_MESA_window_pos (void)
|
||||
@ -5847,6 +5867,15 @@ static void _glewInfo_GL_MESA_ycbcr_texture (void)
|
||||
|
||||
#endif /* GL_MESA_ycbcr_texture */
|
||||
|
||||
#ifdef GL_NVX_blend_equation_advanced_multi_draw_buffers
|
||||
|
||||
static void _glewInfo_GL_NVX_blend_equation_advanced_multi_draw_buffers (void)
|
||||
{
|
||||
glewPrintExt("GL_NVX_blend_equation_advanced_multi_draw_buffers", GLEW_NVX_blend_equation_advanced_multi_draw_buffers, glewIsSupported("GL_NVX_blend_equation_advanced_multi_draw_buffers"), glewGetExtension("GL_NVX_blend_equation_advanced_multi_draw_buffers"));
|
||||
}
|
||||
|
||||
#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
|
||||
|
||||
#ifdef GL_NVX_conditional_render
|
||||
|
||||
static void _glewInfo_GL_NVX_conditional_render (void)
|
||||
@ -6324,6 +6353,28 @@ static void _glewInfo_GL_NV_geometry_shader_passthrough (void)
|
||||
|
||||
#endif /* GL_NV_geometry_shader_passthrough */
|
||||
|
||||
#ifdef GL_NV_gpu_multicast
|
||||
|
||||
static void _glewInfo_GL_NV_gpu_multicast (void)
|
||||
{
|
||||
glewPrintExt("GL_NV_gpu_multicast", GLEW_NV_gpu_multicast, glewIsSupported("GL_NV_gpu_multicast"), glewGetExtension("GL_NV_gpu_multicast"));
|
||||
|
||||
glewInfoFunc("glMulticastBarrierNV", glMulticastBarrierNV == NULL);
|
||||
glewInfoFunc("glMulticastBlitFramebufferNV", glMulticastBlitFramebufferNV == NULL);
|
||||
glewInfoFunc("glMulticastBufferSubDataNV", glMulticastBufferSubDataNV == NULL);
|
||||
glewInfoFunc("glMulticastCopyBufferSubDataNV", glMulticastCopyBufferSubDataNV == NULL);
|
||||
glewInfoFunc("glMulticastCopyImageSubDataNV", glMulticastCopyImageSubDataNV == NULL);
|
||||
glewInfoFunc("glMulticastFramebufferSampleLocationsfvNV", glMulticastFramebufferSampleLocationsfvNV == NULL);
|
||||
glewInfoFunc("glMulticastGetQueryObjecti64vNV", glMulticastGetQueryObjecti64vNV == NULL);
|
||||
glewInfoFunc("glMulticastGetQueryObjectivNV", glMulticastGetQueryObjectivNV == NULL);
|
||||
glewInfoFunc("glMulticastGetQueryObjectui64vNV", glMulticastGetQueryObjectui64vNV == NULL);
|
||||
glewInfoFunc("glMulticastGetQueryObjectuivNV", glMulticastGetQueryObjectuivNV == NULL);
|
||||
glewInfoFunc("glMulticastWaitSyncNV", glMulticastWaitSyncNV == NULL);
|
||||
glewInfoFunc("glRenderGpuMaskNV", glRenderGpuMaskNV == NULL);
|
||||
}
|
||||
|
||||
#endif /* GL_NV_gpu_multicast */
|
||||
|
||||
#ifdef GL_NV_gpu_program4
|
||||
|
||||
static void _glewInfo_GL_NV_gpu_program4 (void)
|
||||
@ -11123,6 +11174,9 @@ static void glewInfo (void)
|
||||
#ifdef GL_ARB_get_texture_sub_image
|
||||
_glewInfo_GL_ARB_get_texture_sub_image();
|
||||
#endif /* GL_ARB_get_texture_sub_image */
|
||||
#ifdef GL_ARB_gl_spirv
|
||||
_glewInfo_GL_ARB_gl_spirv();
|
||||
#endif /* GL_ARB_gl_spirv */
|
||||
#ifdef GL_ARB_gpu_shader5
|
||||
_glewInfo_GL_ARB_gpu_shader5();
|
||||
#endif /* GL_ARB_gpu_shader5 */
|
||||
@ -11978,12 +12032,18 @@ static void glewInfo (void)
|
||||
#ifdef GL_MESA_resize_buffers
|
||||
_glewInfo_GL_MESA_resize_buffers();
|
||||
#endif /* GL_MESA_resize_buffers */
|
||||
#ifdef GL_MESA_shader_integer_functions
|
||||
_glewInfo_GL_MESA_shader_integer_functions();
|
||||
#endif /* GL_MESA_shader_integer_functions */
|
||||
#ifdef GL_MESA_window_pos
|
||||
_glewInfo_GL_MESA_window_pos();
|
||||
#endif /* GL_MESA_window_pos */
|
||||
#ifdef GL_MESA_ycbcr_texture
|
||||
_glewInfo_GL_MESA_ycbcr_texture();
|
||||
#endif /* GL_MESA_ycbcr_texture */
|
||||
#ifdef GL_NVX_blend_equation_advanced_multi_draw_buffers
|
||||
_glewInfo_GL_NVX_blend_equation_advanced_multi_draw_buffers();
|
||||
#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
|
||||
#ifdef GL_NVX_conditional_render
|
||||
_glewInfo_GL_NVX_conditional_render();
|
||||
#endif /* GL_NVX_conditional_render */
|
||||
@ -12107,6 +12167,9 @@ static void glewInfo (void)
|
||||
#ifdef GL_NV_geometry_shader_passthrough
|
||||
_glewInfo_GL_NV_geometry_shader_passthrough();
|
||||
#endif /* GL_NV_geometry_shader_passthrough */
|
||||
#ifdef GL_NV_gpu_multicast
|
||||
_glewInfo_GL_NV_gpu_multicast();
|
||||
#endif /* GL_NV_gpu_multicast */
|
||||
#ifdef GL_NV_gpu_program4
|
||||
_glewInfo_GL_NV_gpu_program4();
|
||||
#endif /* GL_NV_gpu_program4 */
|
||||
|
Loading…
Reference in New Issue
Block a user