1e64d31b9Smaya/* DO NOT EDIT - This file generated automatically by gl_genexec.py script */ 2e64d31b9Smaya 3e64d31b9Smaya/* 4e64d31b9Smaya * Copyright (C) 2012 Intel Corporation 5e64d31b9Smaya * All Rights Reserved. 6e64d31b9Smaya * 7e64d31b9Smaya * Permission is hereby granted, free of charge, to any person obtaining a 8e64d31b9Smaya * copy of this software and associated documentation files (the "Software"), 9e64d31b9Smaya * to deal in the Software without restriction, including without limitation 10e64d31b9Smaya * the rights to use, copy, modify, merge, publish, distribute, sub license, 11e64d31b9Smaya * and/or sell copies of the Software, and to permit persons to whom the 12e64d31b9Smaya * Software is furnished to do so, subject to the following conditions: 13e64d31b9Smaya * 14e64d31b9Smaya * The above copyright notice and this permission notice (including the next 15e64d31b9Smaya * paragraph) shall be included in all copies or substantial portions of the 16e64d31b9Smaya * Software. 17e64d31b9Smaya * 18e64d31b9Smaya * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19e64d31b9Smaya * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20e64d31b9Smaya * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 21e64d31b9Smaya * Intel Corporation, 22e64d31b9Smaya * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 23e64d31b9Smaya * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 24e64d31b9Smaya * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 25e64d31b9Smaya * SOFTWARE. 26e64d31b9Smaya */ 27e64d31b9Smaya 28e64d31b9Smaya/** 29e64d31b9Smaya * \file api_exec.c 30e64d31b9Smaya * Initialize dispatch table. 31e64d31b9Smaya */ 32e64d31b9Smaya 33e64d31b9Smaya 34e64d31b9Smaya#include "main/accum.h" 35e64d31b9Smaya#include "main/api_exec.h" 36e64d31b9Smaya#include "main/arbprogram.h" 37e64d31b9Smaya#include "main/atifragshader.h" 38e64d31b9Smaya#include "main/attrib.h" 39e64d31b9Smaya#include "main/blend.h" 40e64d31b9Smaya#include "main/blit.h" 41e64d31b9Smaya#include "main/bufferobj.h" 42e64d31b9Smaya#include "main/arrayobj.h" 43e64d31b9Smaya#include "main/bbox.h" 44e64d31b9Smaya#include "main/buffers.h" 45e64d31b9Smaya#include "main/clear.h" 46e64d31b9Smaya#include "main/clip.h" 47e64d31b9Smaya#include "main/colortab.h" 48e64d31b9Smaya#include "main/compute.h" 49e64d31b9Smaya#include "main/condrender.h" 50e64d31b9Smaya#include "main/conservativeraster.h" 51e64d31b9Smaya#include "main/context.h" 52e64d31b9Smaya#include "main/convolve.h" 53e64d31b9Smaya#include "main/copyimage.h" 54e64d31b9Smaya#include "main/depth.h" 55e64d31b9Smaya#include "main/debug_output.h" 56e64d31b9Smaya#include "main/dlist.h" 57e64d31b9Smaya#include "main/draw.h" 58e64d31b9Smaya#include "main/drawpix.h" 59e64d31b9Smaya#include "main/drawtex.h" 60e64d31b9Smaya#include "main/rastpos.h" 61e64d31b9Smaya#include "main/enable.h" 62e64d31b9Smaya#include "main/errors.h" 63e64d31b9Smaya#include "main/es1_conversion.h" 64e64d31b9Smaya#include "main/eval.h" 65e64d31b9Smaya#include "main/externalobjects.h" 66e64d31b9Smaya#include "main/get.h" 67e64d31b9Smaya#include "main/glspirv.h" 68e64d31b9Smaya#include "main/feedback.h" 69e64d31b9Smaya#include "main/fog.h" 70e64d31b9Smaya#include "main/fbobject.h" 71e64d31b9Smaya#include "main/framebuffer.h" 72e64d31b9Smaya#include "main/genmipmap.h" 73e64d31b9Smaya#include "main/hint.h" 74e64d31b9Smaya#include "main/histogram.h" 75e64d31b9Smaya#include "main/light.h" 76e64d31b9Smaya#include "main/lines.h" 77e64d31b9Smaya#include "main/matrix.h" 78e64d31b9Smaya#include "main/multisample.h" 79e64d31b9Smaya#include "main/objectlabel.h" 80e64d31b9Smaya#include "main/objectpurge.h" 81e64d31b9Smaya#include "main/performance_monitor.h" 82e64d31b9Smaya#include "main/performance_query.h" 83e64d31b9Smaya#include "main/pipelineobj.h" 84e64d31b9Smaya#include "main/pixel.h" 85e64d31b9Smaya#include "main/pixelstore.h" 86e64d31b9Smaya#include "main/points.h" 87e64d31b9Smaya#include "main/polygon.h" 88e64d31b9Smaya#include "main/program_resource.h" 89e64d31b9Smaya#include "main/querymatrix.h" 90e64d31b9Smaya#include "main/queryobj.h" 91e64d31b9Smaya#include "main/readpix.h" 92e64d31b9Smaya#include "main/samplerobj.h" 93e64d31b9Smaya#include "main/scissor.h" 94e64d31b9Smaya#include "main/stencil.h" 95e64d31b9Smaya#include "main/texenv.h" 96e64d31b9Smaya#include "main/texgetimage.h" 97e64d31b9Smaya#include "main/teximage.h" 98e64d31b9Smaya#include "main/texgen.h" 99e64d31b9Smaya#include "main/texobj.h" 100e64d31b9Smaya#include "main/texparam.h" 101e64d31b9Smaya#include "main/texstate.h" 102e64d31b9Smaya#include "main/texstorage.h" 103e64d31b9Smaya#include "main/barrier.h" 104e64d31b9Smaya#include "main/texturebindless.h" 105e64d31b9Smaya#include "main/textureview.h" 106e64d31b9Smaya#include "main/transformfeedback.h" 107e64d31b9Smaya#include "main/mtypes.h" 108e64d31b9Smaya#include "main/varray.h" 109e64d31b9Smaya#include "main/viewport.h" 110e64d31b9Smaya#include "main/shaderapi.h" 111e64d31b9Smaya#include "main/shaderimage.h" 112e64d31b9Smaya#include "main/uniforms.h" 113e64d31b9Smaya#include "main/syncobj.h" 114e64d31b9Smaya#include "main/formatquery.h" 115e64d31b9Smaya#include "main/dispatch.h" 116e64d31b9Smaya#include "main/vdpau.h" 117e64d31b9Smaya 118e64d31b9Smaya 119e64d31b9Smaya/** 120e64d31b9Smaya * Initialize a context's exec table with pointers to Mesa's supported 121e64d31b9Smaya * GL functions. 122e64d31b9Smaya * 123e64d31b9Smaya * This function depends on ctx->Version. 124e64d31b9Smaya * 125e64d31b9Smaya * \param ctx GL context to which \c exec belongs. 126e64d31b9Smaya */ 127e64d31b9Smayavoid 128e64d31b9Smaya_mesa_initialize_exec_table(struct gl_context *ctx) 129e64d31b9Smaya{ 130e64d31b9Smaya struct _glapi_table *exec; 131e64d31b9Smaya 132e64d31b9Smaya exec = ctx->Exec; 133e64d31b9Smaya assert(exec != NULL); 134e64d31b9Smaya 135e64d31b9Smaya assert(ctx->Version > 0); 136e64d31b9Smaya 137e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 30))) { 138e64d31b9Smaya SET_BeginTransformFeedback(exec, _mesa_BeginTransformFeedback); 139e64d31b9Smaya SET_BindBufferRange(exec, _mesa_BindBufferRange); 140e64d31b9Smaya SET_BindFragDataLocation(exec, _mesa_BindFragDataLocation); 141e64d31b9Smaya SET_BindFragDataLocationIndexed(exec, _mesa_BindFragDataLocationIndexed); 142e64d31b9Smaya SET_BindSampler(exec, _mesa_BindSampler); 143e64d31b9Smaya SET_BindTransformFeedback(exec, _mesa_BindTransformFeedback); 144e64d31b9Smaya SET_BlendEquationSeparateiARB(exec, _mesa_BlendEquationSeparateiARB); 145e64d31b9Smaya SET_BlendEquationiARB(exec, _mesa_BlendEquationiARB); 146e64d31b9Smaya SET_BlendFuncSeparateiARB(exec, _mesa_BlendFuncSeparateiARB); 147e64d31b9Smaya SET_BlendFunciARB(exec, _mesa_BlendFunciARB); 148e64d31b9Smaya SET_BlitFramebuffer(exec, _mesa_BlitFramebuffer); 149e64d31b9Smaya SET_ClearBufferfi(exec, _mesa_ClearBufferfi); 150e64d31b9Smaya SET_ClearBufferfv(exec, _mesa_ClearBufferfv); 151e64d31b9Smaya SET_ClearBufferiv(exec, _mesa_ClearBufferiv); 152e64d31b9Smaya SET_ClearBufferuiv(exec, _mesa_ClearBufferuiv); 153e64d31b9Smaya SET_ClientWaitSync(exec, _mesa_ClientWaitSync); 154e64d31b9Smaya SET_CopyBufferSubData(exec, _mesa_CopyBufferSubData); 155e64d31b9Smaya SET_CopyImageSubData(exec, _mesa_CopyImageSubData); 156e64d31b9Smaya SET_DeleteSamplers(exec, _mesa_DeleteSamplers); 157e64d31b9Smaya SET_DeleteSync(exec, _mesa_DeleteSync); 158e64d31b9Smaya SET_EndTransformFeedback(exec, _mesa_EndTransformFeedback); 159e64d31b9Smaya SET_FenceSync(exec, _mesa_FenceSync); 160e64d31b9Smaya SET_FramebufferTextureLayer(exec, _mesa_FramebufferTextureLayer); 161e64d31b9Smaya SET_GenSamplers(exec, _mesa_GenSamplers); 162e64d31b9Smaya SET_InvalidateFramebuffer(exec, _mesa_InvalidateFramebuffer); 163e64d31b9Smaya SET_InvalidateSubFramebuffer(exec, _mesa_InvalidateSubFramebuffer); 164e64d31b9Smaya SET_MinSampleShading(exec, _mesa_MinSampleShading); 165e64d31b9Smaya SET_PauseTransformFeedback(exec, _mesa_PauseTransformFeedback); 166e64d31b9Smaya SET_ResumeTransformFeedback(exec, _mesa_ResumeTransformFeedback); 167e64d31b9Smaya SET_TexStorage2D(exec, _mesa_TexStorage2D); 168e64d31b9Smaya SET_TexStorage3D(exec, _mesa_TexStorage3D); 169e64d31b9Smaya SET_TransformFeedbackVaryings(exec, _mesa_TransformFeedbackVaryings); 170e64d31b9Smaya SET_UniformBlockBinding(exec, _mesa_UniformBlockBinding); 171e64d31b9Smaya SET_VertexAttribDivisor(exec, _mesa_VertexAttribDivisor); 172e64d31b9Smaya SET_VertexAttribIPointer(exec, _mesa_VertexAttribIPointer); 173e64d31b9Smaya SET_WaitSync(exec, _mesa_WaitSync); 174e64d31b9Smaya } 175e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 31))) { 176e64d31b9Smaya SET_BindImageTexture(exec, _mesa_BindImageTexture); 177e64d31b9Smaya SET_BindVertexBuffer(exec, _mesa_BindVertexBuffer); 178e64d31b9Smaya SET_BufferStorage(exec, _mesa_BufferStorage); 179e64d31b9Smaya SET_DispatchCompute(exec, _mesa_DispatchCompute); 180e64d31b9Smaya SET_DispatchComputeIndirect(exec, _mesa_DispatchComputeIndirect); 181e64d31b9Smaya SET_FramebufferSampleLocationsfvARB(exec, _mesa_FramebufferSampleLocationsfvARB); 182e64d31b9Smaya SET_MemoryBarrierByRegion(exec, _mesa_MemoryBarrierByRegion); 183e64d31b9Smaya SET_NamedFramebufferSampleLocationsfvARB(exec, _mesa_NamedFramebufferSampleLocationsfvARB); 184e64d31b9Smaya SET_PatchParameteri(exec, _mesa_PatchParameteri); 185e64d31b9Smaya SET_SampleMaski(exec, _mesa_SampleMaski); 186e64d31b9Smaya SET_TextureView(exec, _mesa_TextureView); 187e64d31b9Smaya SET_VertexAttribBinding(exec, _mesa_VertexAttribBinding); 188e64d31b9Smaya SET_VertexBindingDivisor(exec, _mesa_VertexBindingDivisor); 18996c5ddc4Srjs SET_ViewportSwizzleNV(exec, _mesa_ViewportSwizzleNV); 190e64d31b9Smaya } 191e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 32))) { 192e64d31b9Smaya SET_BufferStorageMemEXT(exec, _mesa_BufferStorageMemEXT); 193e64d31b9Smaya SET_NamedBufferStorageMemEXT(exec, _mesa_NamedBufferStorageMemEXT); 194e64d31b9Smaya } 195e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2)) { 196e64d31b9Smaya SET_ActiveTexture(exec, _mesa_ActiveTexture); 197e64d31b9Smaya SET_BindBuffer(exec, _mesa_BindBuffer); 198e64d31b9Smaya SET_BindTexture(exec, _mesa_BindTexture); 199e64d31b9Smaya SET_BlendEquationSeparate(exec, _mesa_BlendEquationSeparate); 200e64d31b9Smaya SET_BlendFunc(exec, _mesa_BlendFunc); 201e64d31b9Smaya SET_BlendFuncSeparate(exec, _mesa_BlendFuncSeparate); 202e64d31b9Smaya SET_BufferData(exec, _mesa_BufferData); 203e64d31b9Smaya SET_BufferSubData(exec, _mesa_BufferSubData); 204e64d31b9Smaya SET_CheckFramebufferStatus(exec, _mesa_CheckFramebufferStatus); 205e64d31b9Smaya SET_Clear(exec, _mesa_Clear); 206e64d31b9Smaya SET_CompressedTexImage2D(exec, _mesa_CompressedTexImage2D); 207e64d31b9Smaya SET_CompressedTexSubImage2D(exec, _mesa_CompressedTexSubImage2D); 208e64d31b9Smaya SET_ConservativeRasterParameterfNV(exec, _mesa_ConservativeRasterParameterfNV); 209e64d31b9Smaya SET_ConservativeRasterParameteriNV(exec, _mesa_ConservativeRasterParameteriNV); 210e64d31b9Smaya SET_CopyTexImage2D(exec, _mesa_CopyTexImage2D); 211e64d31b9Smaya SET_CopyTexSubImage2D(exec, _mesa_CopyTexSubImage2D); 212e64d31b9Smaya SET_CullFace(exec, _mesa_CullFace); 213e64d31b9Smaya SET_DeleteBuffers(exec, _mesa_DeleteBuffers); 214e64d31b9Smaya SET_DeleteTextures(exec, _mesa_DeleteTextures); 215e64d31b9Smaya SET_DepthFunc(exec, _mesa_DepthFunc); 216e64d31b9Smaya SET_FlushMappedBufferRange(exec, _mesa_FlushMappedBufferRange); 217e64d31b9Smaya SET_FramebufferRenderbuffer(exec, _mesa_FramebufferRenderbuffer); 218e64d31b9Smaya SET_FramebufferTexture2D(exec, _mesa_FramebufferTexture2D); 219e64d31b9Smaya SET_FrontFace(exec, _mesa_FrontFace); 220e64d31b9Smaya SET_GenBuffers(exec, _mesa_GenBuffers); 221e64d31b9Smaya SET_GenRenderbuffers(exec, _mesa_GenRenderbuffers); 222e64d31b9Smaya SET_GenTextures(exec, _mesa_GenTextures); 223e64d31b9Smaya SET_GenerateMipmap(exec, _mesa_GenerateMipmap); 224e64d31b9Smaya SET_LineWidth(exec, _mesa_LineWidth); 225e64d31b9Smaya SET_MapBuffer(exec, _mesa_MapBuffer); 226e64d31b9Smaya SET_MapBufferRange(exec, _mesa_MapBufferRange); 227e64d31b9Smaya SET_PixelStorei(exec, _mesa_PixelStorei); 228e64d31b9Smaya SET_ReadPixels(exec, _mesa_ReadPixels); 229e64d31b9Smaya SET_Scissor(exec, _mesa_Scissor); 230e64d31b9Smaya SET_StencilFunc(exec, _mesa_StencilFunc); 231e64d31b9Smaya SET_StencilOp(exec, _mesa_StencilOp); 232e64d31b9Smaya SET_SubpixelPrecisionBiasNV(exec, _mesa_SubpixelPrecisionBiasNV); 233e64d31b9Smaya SET_TexImage2D(exec, _mesa_TexImage2D); 234e64d31b9Smaya SET_TexSubImage2D(exec, _mesa_TexSubImage2D); 235e64d31b9Smaya SET_UnmapBuffer(exec, _mesa_UnmapBuffer); 236e64d31b9Smaya SET_Viewport(exec, _mesa_Viewport); 237e64d31b9Smaya } 238e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES)) { 239e64d31b9Smaya SET_LogicOp(exec, _mesa_LogicOp); 240e64d31b9Smaya SET_PointSize(exec, _mesa_PointSize); 241e64d31b9Smaya } 242e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2)) { 243e64d31b9Smaya SET_ActiveShaderProgram(exec, _mesa_ActiveShaderProgram); 244e64d31b9Smaya SET_AttachShader(exec, _mesa_AttachShader); 245e64d31b9Smaya SET_BeginConditionalRender(exec, _mesa_BeginConditionalRender); 246e64d31b9Smaya SET_BindAttribLocation(exec, _mesa_BindAttribLocation); 247e64d31b9Smaya SET_BindProgramPipeline(exec, _mesa_BindProgramPipeline); 248e64d31b9Smaya SET_BindVertexArray(exec, _mesa_BindVertexArray); 24996c5ddc4Srjs SET_ClipControl(exec, _mesa_ClipControl); 250e64d31b9Smaya SET_CompressedTexImage3D(exec, _mesa_CompressedTexImage3D); 251e64d31b9Smaya SET_CompressedTexSubImage3D(exec, _mesa_CompressedTexSubImage3D); 252e64d31b9Smaya SET_CopyTexSubImage3D(exec, _mesa_CopyTexSubImage3D); 253e64d31b9Smaya SET_CreateShader(exec, _mesa_CreateShader); 254e64d31b9Smaya SET_DeleteVertexArrays(exec, _mesa_DeleteVertexArrays); 255e64d31b9Smaya SET_DetachShader(exec, _mesa_DetachShader); 256e64d31b9Smaya SET_DisableVertexAttribArray(exec, _mesa_DisableVertexAttribArray); 257e64d31b9Smaya SET_DrawBuffers(exec, _mesa_DrawBuffers); 258e64d31b9Smaya SET_EnableVertexAttribArray(exec, _mesa_EnableVertexAttribArray); 259e64d31b9Smaya SET_EndConditionalRender(exec, _mesa_EndConditionalRender); 260e64d31b9Smaya SET_FramebufferTexture3D(exec, _mesa_FramebufferTexture3D); 261e64d31b9Smaya SET_GenProgramPipelines(exec, _mesa_GenProgramPipelines); 262e64d31b9Smaya SET_GenVertexArrays(exec, _mesa_GenVertexArrays); 263e64d31b9Smaya SET_GetUniformLocation(exec, _mesa_GetUniformLocation); 264e64d31b9Smaya SET_LinkProgram(exec, _mesa_LinkProgram); 265e64d31b9Smaya SET_ProgramParameteri(exec, _mesa_ProgramParameteri); 266e64d31b9Smaya SET_ReadBuffer(exec, _mesa_ReadBuffer); 267e64d31b9Smaya SET_ReadnPixelsARB(exec, _mesa_ReadnPixelsARB); 268e64d31b9Smaya SET_ShaderSource(exec, _mesa_ShaderSource); 269e64d31b9Smaya SET_StencilFuncSeparate(exec, _mesa_StencilFuncSeparate); 270e64d31b9Smaya SET_StencilMaskSeparate(exec, _mesa_StencilMaskSeparate); 271e64d31b9Smaya SET_StencilOpSeparate(exec, _mesa_StencilOpSeparate); 272e64d31b9Smaya SET_TexImage3D(exec, _mesa_TexImage3D); 273e64d31b9Smaya SET_TexSubImage3D(exec, _mesa_TexSubImage3D); 274e64d31b9Smaya SET_UseProgram(exec, _mesa_UseProgram); 275e64d31b9Smaya SET_UseProgramStages(exec, _mesa_UseProgramStages); 276e64d31b9Smaya SET_VertexAttribPointer(exec, _mesa_VertexAttribPointer); 277e64d31b9Smaya } 278e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx))) { 279e64d31b9Smaya SET_AttachObjectARB(exec, _mesa_AttachObjectARB); 280e64d31b9Smaya SET_BindBufferOffsetEXT(exec, _mesa_BindBufferOffsetEXT); 281e64d31b9Smaya SET_BindImageTextures(exec, _mesa_BindImageTextures); 282e64d31b9Smaya SET_BindSamplers(exec, _mesa_BindSamplers); 283e64d31b9Smaya SET_BindTextures(exec, _mesa_BindTextures); 284e64d31b9Smaya SET_BindVertexBuffers(exec, _mesa_BindVertexBuffers); 285e64d31b9Smaya SET_ClearBufferData(exec, _mesa_ClearBufferData); 286e64d31b9Smaya SET_ClearBufferSubData(exec, _mesa_ClearBufferSubData); 287e64d31b9Smaya SET_CompressedTexImage1D(exec, _mesa_CompressedTexImage1D); 288e64d31b9Smaya SET_CompressedTexSubImage1D(exec, _mesa_CompressedTexSubImage1D); 289e64d31b9Smaya SET_CopyTexImage1D(exec, _mesa_CopyTexImage1D); 290e64d31b9Smaya SET_CopyTexSubImage1D(exec, _mesa_CopyTexSubImage1D); 291e64d31b9Smaya SET_CreateShaderObjectARB(exec, _mesa_CreateShaderObjectARB); 292e64d31b9Smaya SET_DetachObjectARB(exec, _mesa_DetachObjectARB); 293e64d31b9Smaya SET_DispatchComputeGroupSizeARB(exec, _mesa_DispatchComputeGroupSizeARB); 294e64d31b9Smaya SET_DrawBuffer(exec, _mesa_DrawBuffer); 295e64d31b9Smaya SET_FramebufferTexture1D(exec, _mesa_FramebufferTexture1D); 296e64d31b9Smaya SET_GetImageHandleARB(exec, _mesa_GetImageHandleARB); 297e64d31b9Smaya SET_GetTextureHandleARB(exec, _mesa_GetTextureHandleARB); 298e64d31b9Smaya SET_GetTextureSamplerHandleARB(exec, _mesa_GetTextureSamplerHandleARB); 299e64d31b9Smaya SET_InvalidateBufferData(exec, _mesa_InvalidateBufferData); 300e64d31b9Smaya SET_InvalidateBufferSubData(exec, _mesa_InvalidateBufferSubData); 301e64d31b9Smaya SET_InvalidateTexImage(exec, _mesa_InvalidateTexImage); 302e64d31b9Smaya SET_InvalidateTexSubImage(exec, _mesa_InvalidateTexSubImage); 303e64d31b9Smaya SET_IsImageHandleResidentARB(exec, _mesa_IsImageHandleResidentARB); 304e64d31b9Smaya SET_IsTextureHandleResidentARB(exec, _mesa_IsTextureHandleResidentARB); 305e64d31b9Smaya SET_MakeImageHandleNonResidentARB(exec, _mesa_MakeImageHandleNonResidentARB); 306e64d31b9Smaya SET_MakeImageHandleResidentARB(exec, _mesa_MakeImageHandleResidentARB); 307e64d31b9Smaya SET_MakeTextureHandleNonResidentARB(exec, _mesa_MakeTextureHandleNonResidentARB); 308e64d31b9Smaya SET_MakeTextureHandleResidentARB(exec, _mesa_MakeTextureHandleResidentARB); 309e64d31b9Smaya SET_PixelStoref(exec, _mesa_PixelStoref); 310e64d31b9Smaya SET_PolygonMode(exec, _mesa_PolygonMode); 311e64d31b9Smaya SET_PrimitiveRestartIndex(exec, _mesa_PrimitiveRestartIndex); 312e64d31b9Smaya SET_ShaderStorageBlockBinding(exec, _mesa_ShaderStorageBlockBinding); 313e64d31b9Smaya SET_TexImage1D(exec, _mesa_TexImage1D); 314e64d31b9Smaya SET_TexStorage1D(exec, _mesa_TexStorage1D); 315e64d31b9Smaya SET_TexSubImage1D(exec, _mesa_TexSubImage1D); 31696c5ddc4Srjs SET_UnmapNamedBufferEXT(exec, _mesa_UnmapNamedBufferEXT); 317e64d31b9Smaya } 318e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGLES)) { 319e64d31b9Smaya SET_PointSizePointerOES(exec, _mesa_PointSizePointerOES); 320e64d31b9Smaya } 321e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGLES)) { 322e64d31b9Smaya SET_ColorPointer(exec, _mesa_ColorPointer); 323e64d31b9Smaya SET_NormalPointer(exec, _mesa_NormalPointer); 324e64d31b9Smaya SET_TexCoordPointer(exec, _mesa_TexCoordPointer); 325e64d31b9Smaya SET_VertexPointer(exec, _mesa_VertexPointer); 326e64d31b9Smaya } 327e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGL_CORE || (ctx->API == API_OPENGLES2 && ctx->Version >= 31))) { 328e64d31b9Smaya SET_FramebufferTexture(exec, _mesa_FramebufferTexture); 329e64d31b9Smaya SET_ScissorArrayv(exec, _mesa_ScissorArrayv); 330e64d31b9Smaya SET_ScissorIndexed(exec, _mesa_ScissorIndexed); 331e64d31b9Smaya SET_ScissorIndexedv(exec, _mesa_ScissorIndexedv); 332e64d31b9Smaya SET_ViewportArrayv(exec, _mesa_ViewportArrayv); 333e64d31b9Smaya SET_ViewportIndexedf(exec, _mesa_ViewportIndexedf); 334e64d31b9Smaya SET_ViewportIndexedfv(exec, _mesa_ViewportIndexedfv); 335e64d31b9Smaya } 336e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGL_CORE)) { 337e64d31b9Smaya SET_BindTextureUnit(exec, _mesa_BindTextureUnit); 338e64d31b9Smaya SET_BlitNamedFramebuffer(exec, _mesa_BlitNamedFramebuffer); 339e64d31b9Smaya SET_ClearNamedBufferData(exec, _mesa_ClearNamedBufferData); 340e64d31b9Smaya SET_ClearNamedBufferSubData(exec, _mesa_ClearNamedBufferSubData); 341e64d31b9Smaya SET_CompressedTextureSubImage1D(exec, _mesa_CompressedTextureSubImage1D); 342e64d31b9Smaya SET_CompressedTextureSubImage2D(exec, _mesa_CompressedTextureSubImage2D); 343e64d31b9Smaya SET_CompressedTextureSubImage3D(exec, _mesa_CompressedTextureSubImage3D); 344e64d31b9Smaya SET_CopyNamedBufferSubData(exec, _mesa_CopyNamedBufferSubData); 345e64d31b9Smaya SET_CopyTextureSubImage1D(exec, _mesa_CopyTextureSubImage1D); 346e64d31b9Smaya SET_CopyTextureSubImage2D(exec, _mesa_CopyTextureSubImage2D); 347e64d31b9Smaya SET_CopyTextureSubImage3D(exec, _mesa_CopyTextureSubImage3D); 348e64d31b9Smaya SET_CreateBuffers(exec, _mesa_CreateBuffers); 349e64d31b9Smaya SET_CreateProgramPipelines(exec, _mesa_CreateProgramPipelines); 350e64d31b9Smaya SET_CreateRenderbuffers(exec, _mesa_CreateRenderbuffers); 351e64d31b9Smaya SET_CreateSamplers(exec, _mesa_CreateSamplers); 352e64d31b9Smaya SET_CreateTextures(exec, _mesa_CreateTextures); 353e64d31b9Smaya SET_CreateVertexArrays(exec, _mesa_CreateVertexArrays); 354e64d31b9Smaya SET_DepthRangeArrayv(exec, _mesa_DepthRangeArrayv); 355e64d31b9Smaya SET_DepthRangeIndexed(exec, _mesa_DepthRangeIndexed); 356e64d31b9Smaya SET_DisableVertexArrayAttrib(exec, _mesa_DisableVertexArrayAttrib); 357e64d31b9Smaya SET_EnableVertexArrayAttrib(exec, _mesa_EnableVertexArrayAttrib); 358e64d31b9Smaya SET_FlushMappedNamedBufferRange(exec, _mesa_FlushMappedNamedBufferRange); 359e64d31b9Smaya SET_GenerateTextureMipmap(exec, _mesa_GenerateTextureMipmap); 360e64d31b9Smaya SET_MapNamedBuffer(exec, _mesa_MapNamedBuffer); 361e64d31b9Smaya SET_MapNamedBufferRange(exec, _mesa_MapNamedBufferRange); 362e64d31b9Smaya SET_NamedBufferData(exec, _mesa_NamedBufferData); 363e64d31b9Smaya SET_NamedBufferStorage(exec, _mesa_NamedBufferStorage); 364e64d31b9Smaya SET_NamedBufferSubData(exec, _mesa_NamedBufferSubData); 365e64d31b9Smaya SET_NamedFramebufferDrawBuffer(exec, _mesa_NamedFramebufferDrawBuffer); 366e64d31b9Smaya SET_NamedFramebufferDrawBuffers(exec, _mesa_NamedFramebufferDrawBuffers); 367e64d31b9Smaya SET_NamedFramebufferReadBuffer(exec, _mesa_NamedFramebufferReadBuffer); 368e64d31b9Smaya SET_NamedFramebufferRenderbuffer(exec, _mesa_NamedFramebufferRenderbuffer); 369e64d31b9Smaya SET_NamedFramebufferTexture(exec, _mesa_NamedFramebufferTexture); 370e64d31b9Smaya SET_NamedFramebufferTextureLayer(exec, _mesa_NamedFramebufferTextureLayer); 371e64d31b9Smaya SET_TextureStorage1D(exec, _mesa_TextureStorage1D); 372e64d31b9Smaya SET_TextureStorage2D(exec, _mesa_TextureStorage2D); 373e64d31b9Smaya SET_TextureStorage3D(exec, _mesa_TextureStorage3D); 374e64d31b9Smaya SET_TextureSubImage1D(exec, _mesa_TextureSubImage1D); 375e64d31b9Smaya SET_TextureSubImage2D(exec, _mesa_TextureSubImage2D); 376e64d31b9Smaya SET_TextureSubImage3D(exec, _mesa_TextureSubImage3D); 377e64d31b9Smaya SET_VertexArrayAttribBinding(exec, _mesa_VertexArrayAttribBinding); 378e64d31b9Smaya SET_VertexArrayBindingDivisor(exec, _mesa_VertexArrayBindingDivisor); 379e64d31b9Smaya SET_VertexArrayElementBuffer(exec, _mesa_VertexArrayElementBuffer); 380e64d31b9Smaya SET_VertexArrayVertexBuffer(exec, _mesa_VertexArrayVertexBuffer); 381e64d31b9Smaya SET_VertexArrayVertexBuffers(exec, _mesa_VertexArrayVertexBuffers); 382e64d31b9Smaya SET_VertexAttribLPointer(exec, _mesa_VertexAttribLPointer); 383e64d31b9Smaya } 384e64d31b9Smaya if (!_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT)) { 385e64d31b9Smaya SET_EdgeFlagPointer(exec, _mesa_EdgeFlagPointer); 386e64d31b9Smaya SET_FogCoordPointer(exec, _mesa_FogCoordPointer); 387e64d31b9Smaya SET_IndexPointer(exec, _mesa_IndexPointer); 388e64d31b9Smaya SET_SecondaryColorPointer(exec, _mesa_SecondaryColorPointer); 389e64d31b9Smaya } 390e64d31b9Smaya if ((ctx->API == API_OPENGLES2 && ctx->Version >= 31)) { 391e64d31b9Smaya SET_DepthRangeArrayfvOES(exec, _mesa_DepthRangeArrayfvOES); 392e64d31b9Smaya SET_DepthRangeIndexedfOES(exec, _mesa_DepthRangeIndexedfOES); 393e64d31b9Smaya } 394e64d31b9Smaya if (_mesa_is_desktop_gl(ctx)) { 39596c5ddc4Srjs SET_AlphaToCoverageDitherControlNV(exec, _mesa_AlphaToCoverageDitherControlNV); 396e64d31b9Smaya SET_BeginQueryIndexed(exec, _mesa_BeginQueryIndexed); 397e64d31b9Smaya SET_BindBuffersBase(exec, _mesa_BindBuffersBase); 398e64d31b9Smaya SET_BindBuffersRange(exec, _mesa_BindBuffersRange); 399e64d31b9Smaya SET_BindFramebufferEXT(exec, _mesa_BindFramebufferEXT); 40096c5ddc4Srjs SET_BindImageTextureEXT(exec, _mesa_BindImageTextureEXT); 40196c5ddc4Srjs SET_BindMultiTextureEXT(exec, _mesa_BindMultiTextureEXT); 402e64d31b9Smaya SET_BindRenderbufferEXT(exec, _mesa_BindRenderbufferEXT); 403e64d31b9Smaya SET_BufferPageCommitmentARB(exec, _mesa_BufferPageCommitmentARB); 40496c5ddc4Srjs SET_CheckNamedFramebufferStatusEXT(exec, _mesa_CheckNamedFramebufferStatusEXT); 405e64d31b9Smaya SET_ClampColor(exec, _mesa_ClampColor); 406e64d31b9Smaya SET_ClearColorIiEXT(exec, _mesa_ClearColorIiEXT); 407e64d31b9Smaya SET_ClearColorIuiEXT(exec, _mesa_ClearColorIuiEXT); 408e64d31b9Smaya SET_ClearDepth(exec, _mesa_ClearDepth); 40996c5ddc4Srjs SET_ClearNamedBufferDataEXT(exec, _mesa_ClearNamedBufferDataEXT); 41096c5ddc4Srjs SET_ClearNamedBufferSubDataEXT(exec, _mesa_ClearNamedBufferSubDataEXT); 41196c5ddc4Srjs SET_ClientAttribDefaultEXT(exec, _mesa_ClientAttribDefaultEXT); 41296c5ddc4Srjs SET_CompileShaderIncludeARB(exec, _mesa_CompileShaderIncludeARB); 41396c5ddc4Srjs SET_CompressedMultiTexImage1DEXT(exec, _mesa_CompressedMultiTexImage1DEXT); 41496c5ddc4Srjs SET_CompressedMultiTexImage2DEXT(exec, _mesa_CompressedMultiTexImage2DEXT); 41596c5ddc4Srjs SET_CompressedMultiTexImage3DEXT(exec, _mesa_CompressedMultiTexImage3DEXT); 41696c5ddc4Srjs SET_CompressedMultiTexSubImage1DEXT(exec, _mesa_CompressedMultiTexSubImage1DEXT); 41796c5ddc4Srjs SET_CompressedMultiTexSubImage2DEXT(exec, _mesa_CompressedMultiTexSubImage2DEXT); 41896c5ddc4Srjs SET_CompressedMultiTexSubImage3DEXT(exec, _mesa_CompressedMultiTexSubImage3DEXT); 41996c5ddc4Srjs SET_CompressedTextureImage1DEXT(exec, _mesa_CompressedTextureImage1DEXT); 42096c5ddc4Srjs SET_CompressedTextureImage2DEXT(exec, _mesa_CompressedTextureImage2DEXT); 42196c5ddc4Srjs SET_CompressedTextureImage3DEXT(exec, _mesa_CompressedTextureImage3DEXT); 42296c5ddc4Srjs SET_CompressedTextureSubImage1DEXT(exec, _mesa_CompressedTextureSubImage1DEXT); 42396c5ddc4Srjs SET_CompressedTextureSubImage2DEXT(exec, _mesa_CompressedTextureSubImage2DEXT); 42496c5ddc4Srjs SET_CompressedTextureSubImage3DEXT(exec, _mesa_CompressedTextureSubImage3DEXT); 42596c5ddc4Srjs SET_CopyImageSubDataNV(exec, _mesa_CopyImageSubDataNV); 42696c5ddc4Srjs SET_CopyMultiTexImage1DEXT(exec, _mesa_CopyMultiTexImage1DEXT); 42796c5ddc4Srjs SET_CopyMultiTexImage2DEXT(exec, _mesa_CopyMultiTexImage2DEXT); 42896c5ddc4Srjs SET_CopyMultiTexSubImage1DEXT(exec, _mesa_CopyMultiTexSubImage1DEXT); 42996c5ddc4Srjs SET_CopyMultiTexSubImage2DEXT(exec, _mesa_CopyMultiTexSubImage2DEXT); 43096c5ddc4Srjs SET_CopyMultiTexSubImage3DEXT(exec, _mesa_CopyMultiTexSubImage3DEXT); 43196c5ddc4Srjs SET_CopyTextureImage1DEXT(exec, _mesa_CopyTextureImage1DEXT); 43296c5ddc4Srjs SET_CopyTextureImage2DEXT(exec, _mesa_CopyTextureImage2DEXT); 43396c5ddc4Srjs SET_CopyTextureSubImage1DEXT(exec, _mesa_CopyTextureSubImage1DEXT); 43496c5ddc4Srjs SET_CopyTextureSubImage2DEXT(exec, _mesa_CopyTextureSubImage2DEXT); 43596c5ddc4Srjs SET_CopyTextureSubImage3DEXT(exec, _mesa_CopyTextureSubImage3DEXT); 436e64d31b9Smaya SET_CreateProgramObjectARB(exec, _mesa_CreateProgramObjectARB); 43796c5ddc4Srjs SET_DeleteNamedStringARB(exec, _mesa_DeleteNamedStringARB); 438e64d31b9Smaya SET_DeleteObjectARB(exec, _mesa_DeleteObjectARB); 439e64d31b9Smaya SET_DepthBoundsEXT(exec, _mesa_DepthBoundsEXT); 440e64d31b9Smaya SET_DepthRange(exec, _mesa_DepthRange); 44196c5ddc4Srjs SET_DisableClientStateiEXT(exec, _mesa_DisableClientStateiEXT); 44296c5ddc4Srjs SET_DisableVertexArrayAttribEXT(exec, _mesa_DisableVertexArrayAttribEXT); 44396c5ddc4Srjs SET_DisableVertexArrayEXT(exec, _mesa_DisableVertexArrayEXT); 44496c5ddc4Srjs SET_DrawTransformFeedback(exec, _mesa_DrawTransformFeedback); 44596c5ddc4Srjs SET_DrawTransformFeedbackInstanced(exec, _mesa_DrawTransformFeedbackInstanced); 44696c5ddc4Srjs SET_DrawTransformFeedbackStream(exec, _mesa_DrawTransformFeedbackStream); 44796c5ddc4Srjs SET_DrawTransformFeedbackStreamInstanced(exec, _mesa_DrawTransformFeedbackStreamInstanced); 44896c5ddc4Srjs SET_EGLImageTargetTextureStorageEXT(exec, _mesa_EGLImageTargetTextureStorageEXT); 44996c5ddc4Srjs SET_EnableClientStateiEXT(exec, _mesa_EnableClientStateiEXT); 45096c5ddc4Srjs SET_EnableVertexArrayAttribEXT(exec, _mesa_EnableVertexArrayAttribEXT); 45196c5ddc4Srjs SET_EnableVertexArrayEXT(exec, _mesa_EnableVertexArrayEXT); 452e64d31b9Smaya SET_EndQueryIndexed(exec, _mesa_EndQueryIndexed); 45396c5ddc4Srjs SET_FlushMappedNamedBufferRangeEXT(exec, _mesa_FlushMappedNamedBufferRangeEXT); 45496c5ddc4Srjs SET_FramebufferDrawBufferEXT(exec, _mesa_FramebufferDrawBufferEXT); 45596c5ddc4Srjs SET_FramebufferDrawBuffersEXT(exec, _mesa_FramebufferDrawBuffersEXT); 45696c5ddc4Srjs SET_FramebufferReadBufferEXT(exec, _mesa_FramebufferReadBufferEXT); 45796c5ddc4Srjs SET_GenerateMultiTexMipmapEXT(exec, _mesa_GenerateMultiTexMipmapEXT); 45896c5ddc4Srjs SET_GenerateTextureMipmapEXT(exec, _mesa_GenerateTextureMipmapEXT); 459e64d31b9Smaya SET_GetActiveAtomicCounterBufferiv(exec, _mesa_GetActiveAtomicCounterBufferiv); 460e64d31b9Smaya SET_GetActiveUniformName(exec, _mesa_GetActiveUniformName); 461e64d31b9Smaya SET_GetAttachedObjectsARB(exec, _mesa_GetAttachedObjectsARB); 462e64d31b9Smaya SET_GetBufferSubData(exec, _mesa_GetBufferSubData); 46396c5ddc4Srjs SET_GetCompressedMultiTexImageEXT(exec, _mesa_GetCompressedMultiTexImageEXT); 464e64d31b9Smaya SET_GetCompressedTexImage(exec, _mesa_GetCompressedTexImage); 46596c5ddc4Srjs SET_GetCompressedTextureImageEXT(exec, _mesa_GetCompressedTextureImageEXT); 466e64d31b9Smaya SET_GetCompressedTextureSubImage(exec, _mesa_GetCompressedTextureSubImage); 467e64d31b9Smaya SET_GetDoublei_v(exec, _mesa_GetDoublei_v); 468e64d31b9Smaya SET_GetDoublev(exec, _mesa_GetDoublev); 46996c5ddc4Srjs SET_GetFramebufferParameterivEXT(exec, _mesa_GetFramebufferParameterivEXT); 470e64d31b9Smaya SET_GetHandleARB(exec, _mesa_GetHandleARB); 471e64d31b9Smaya SET_GetInfoLogARB(exec, _mesa_GetInfoLogARB); 47296c5ddc4Srjs SET_GetMultiTexEnvfvEXT(exec, _mesa_GetMultiTexEnvfvEXT); 47396c5ddc4Srjs SET_GetMultiTexEnvivEXT(exec, _mesa_GetMultiTexEnvivEXT); 47496c5ddc4Srjs SET_GetMultiTexGendvEXT(exec, _mesa_GetMultiTexGendvEXT); 47596c5ddc4Srjs SET_GetMultiTexGenfvEXT(exec, _mesa_GetMultiTexGenfvEXT); 47696c5ddc4Srjs SET_GetMultiTexGenivEXT(exec, _mesa_GetMultiTexGenivEXT); 47796c5ddc4Srjs SET_GetMultiTexImageEXT(exec, _mesa_GetMultiTexImageEXT); 47896c5ddc4Srjs SET_GetMultiTexLevelParameterfvEXT(exec, _mesa_GetMultiTexLevelParameterfvEXT); 47996c5ddc4Srjs SET_GetMultiTexLevelParameterivEXT(exec, _mesa_GetMultiTexLevelParameterivEXT); 48096c5ddc4Srjs SET_GetMultiTexParameterIivEXT(exec, _mesa_GetMultiTexParameterIivEXT); 48196c5ddc4Srjs SET_GetMultiTexParameterIuivEXT(exec, _mesa_GetMultiTexParameterIuivEXT); 48296c5ddc4Srjs SET_GetMultiTexParameterfvEXT(exec, _mesa_GetMultiTexParameterfvEXT); 48396c5ddc4Srjs SET_GetMultiTexParameterivEXT(exec, _mesa_GetMultiTexParameterivEXT); 48496c5ddc4Srjs SET_GetNamedBufferParameterivEXT(exec, _mesa_GetNamedBufferParameterivEXT); 48596c5ddc4Srjs SET_GetNamedBufferPointervEXT(exec, _mesa_GetNamedBufferPointervEXT); 48696c5ddc4Srjs SET_GetNamedBufferSubDataEXT(exec, _mesa_GetNamedBufferSubDataEXT); 48796c5ddc4Srjs SET_GetNamedFramebufferAttachmentParameterivEXT(exec, _mesa_GetNamedFramebufferAttachmentParameterivEXT); 48896c5ddc4Srjs SET_GetNamedFramebufferParameterivEXT(exec, _mesa_GetNamedFramebufferParameterivEXT); 48996c5ddc4Srjs SET_GetNamedProgramLocalParameterdvEXT(exec, _mesa_GetNamedProgramLocalParameterdvEXT); 49096c5ddc4Srjs SET_GetNamedProgramLocalParameterfvEXT(exec, _mesa_GetNamedProgramLocalParameterfvEXT); 49196c5ddc4Srjs SET_GetNamedProgramStringEXT(exec, _mesa_GetNamedProgramStringEXT); 49296c5ddc4Srjs SET_GetNamedProgramivEXT(exec, _mesa_GetNamedProgramivEXT); 49396c5ddc4Srjs SET_GetNamedRenderbufferParameterivEXT(exec, _mesa_GetNamedRenderbufferParameterivEXT); 49496c5ddc4Srjs SET_GetNamedStringARB(exec, _mesa_GetNamedStringARB); 49596c5ddc4Srjs SET_GetNamedStringivARB(exec, _mesa_GetNamedStringivARB); 496e64d31b9Smaya SET_GetObjectParameterfvARB(exec, _mesa_GetObjectParameterfvARB); 497e64d31b9Smaya SET_GetObjectParameterivAPPLE(exec, _mesa_GetObjectParameterivAPPLE); 498e64d31b9Smaya SET_GetObjectParameterivARB(exec, _mesa_GetObjectParameterivARB); 49996c5ddc4Srjs SET_GetPointerIndexedvEXT(exec, _mesa_GetPointerIndexedvEXT); 500e64d31b9Smaya SET_GetQueryIndexediv(exec, _mesa_GetQueryIndexediv); 501e64d31b9Smaya SET_GetTexImage(exec, _mesa_GetTexImage); 50296c5ddc4Srjs SET_GetTextureImageEXT(exec, _mesa_GetTextureImageEXT); 50396c5ddc4Srjs SET_GetTextureLevelParameterfvEXT(exec, _mesa_GetTextureLevelParameterfvEXT); 50496c5ddc4Srjs SET_GetTextureLevelParameterivEXT(exec, _mesa_GetTextureLevelParameterivEXT); 50596c5ddc4Srjs SET_GetTextureParameterIivEXT(exec, _mesa_GetTextureParameterIivEXT); 50696c5ddc4Srjs SET_GetTextureParameterIuivEXT(exec, _mesa_GetTextureParameterIuivEXT); 50796c5ddc4Srjs SET_GetTextureParameterfvEXT(exec, _mesa_GetTextureParameterfvEXT); 50896c5ddc4Srjs SET_GetTextureParameterivEXT(exec, _mesa_GetTextureParameterivEXT); 509e64d31b9Smaya SET_GetTextureSubImage(exec, _mesa_GetTextureSubImage); 51096c5ddc4Srjs SET_GetVertexArrayIntegeri_vEXT(exec, _mesa_GetVertexArrayIntegeri_vEXT); 51196c5ddc4Srjs SET_GetVertexArrayIntegervEXT(exec, _mesa_GetVertexArrayIntegervEXT); 51296c5ddc4Srjs SET_GetVertexArrayPointeri_vEXT(exec, _mesa_GetVertexArrayPointeri_vEXT); 51396c5ddc4Srjs SET_GetVertexArrayPointervEXT(exec, _mesa_GetVertexArrayPointervEXT); 514e64d31b9Smaya SET_GetVertexAttribdv(exec, _mesa_GetVertexAttribdv); 515e64d31b9Smaya SET_GetnCompressedTexImageARB(exec, _mesa_GetnCompressedTexImageARB); 516e64d31b9Smaya SET_GetnPolygonStippleARB(exec, _mesa_GetnPolygonStippleARB); 517e64d31b9Smaya SET_GetnTexImageARB(exec, _mesa_GetnTexImageARB); 518e64d31b9Smaya SET_GetnUniformdvARB(exec, _mesa_GetnUniformdvARB); 51996c5ddc4Srjs SET_IsNamedStringARB(exec, _mesa_IsNamedStringARB); 52096c5ddc4Srjs SET_MapNamedBufferEXT(exec, _mesa_MapNamedBufferEXT); 52196c5ddc4Srjs SET_MapNamedBufferRangeEXT(exec, _mesa_MapNamedBufferRangeEXT); 52296c5ddc4Srjs SET_MatrixFrustumEXT(exec, _mesa_MatrixFrustumEXT); 52396c5ddc4Srjs SET_MatrixLoadIdentityEXT(exec, _mesa_MatrixLoadIdentityEXT); 52496c5ddc4Srjs SET_MatrixLoadTransposedEXT(exec, _mesa_MatrixLoadTransposedEXT); 52596c5ddc4Srjs SET_MatrixLoadTransposefEXT(exec, _mesa_MatrixLoadTransposefEXT); 52696c5ddc4Srjs SET_MatrixLoaddEXT(exec, _mesa_MatrixLoaddEXT); 52796c5ddc4Srjs SET_MatrixLoadfEXT(exec, _mesa_MatrixLoadfEXT); 52896c5ddc4Srjs SET_MatrixMultTransposedEXT(exec, _mesa_MatrixMultTransposedEXT); 52996c5ddc4Srjs SET_MatrixMultTransposefEXT(exec, _mesa_MatrixMultTransposefEXT); 53096c5ddc4Srjs SET_MatrixMultdEXT(exec, _mesa_MatrixMultdEXT); 53196c5ddc4Srjs SET_MatrixMultfEXT(exec, _mesa_MatrixMultfEXT); 53296c5ddc4Srjs SET_MatrixOrthoEXT(exec, _mesa_MatrixOrthoEXT); 53396c5ddc4Srjs SET_MatrixPopEXT(exec, _mesa_MatrixPopEXT); 53496c5ddc4Srjs SET_MatrixPushEXT(exec, _mesa_MatrixPushEXT); 53596c5ddc4Srjs SET_MatrixRotatedEXT(exec, _mesa_MatrixRotatedEXT); 53696c5ddc4Srjs SET_MatrixRotatefEXT(exec, _mesa_MatrixRotatefEXT); 53796c5ddc4Srjs SET_MatrixScaledEXT(exec, _mesa_MatrixScaledEXT); 53896c5ddc4Srjs SET_MatrixScalefEXT(exec, _mesa_MatrixScalefEXT); 53996c5ddc4Srjs SET_MatrixTranslatedEXT(exec, _mesa_MatrixTranslatedEXT); 54096c5ddc4Srjs SET_MatrixTranslatefEXT(exec, _mesa_MatrixTranslatefEXT); 54196c5ddc4Srjs SET_MultiDrawArraysIndirect(exec, _mesa_MultiDrawArraysIndirect); 54296c5ddc4Srjs SET_MultiDrawArraysIndirectCountARB(exec, _mesa_MultiDrawArraysIndirectCountARB); 54396c5ddc4Srjs SET_MultiDrawElementsIndirect(exec, _mesa_MultiDrawElementsIndirect); 54496c5ddc4Srjs SET_MultiDrawElementsIndirectCountARB(exec, _mesa_MultiDrawElementsIndirectCountARB); 545e64d31b9Smaya SET_MultiModeDrawArraysIBM(exec, _mesa_MultiModeDrawArraysIBM); 546e64d31b9Smaya SET_MultiModeDrawElementsIBM(exec, _mesa_MultiModeDrawElementsIBM); 54796c5ddc4Srjs SET_MultiTexBufferEXT(exec, _mesa_MultiTexBufferEXT); 54896c5ddc4Srjs SET_MultiTexCoordPointerEXT(exec, _mesa_MultiTexCoordPointerEXT); 54996c5ddc4Srjs SET_MultiTexEnvfEXT(exec, _mesa_MultiTexEnvfEXT); 55096c5ddc4Srjs SET_MultiTexEnvfvEXT(exec, _mesa_MultiTexEnvfvEXT); 55196c5ddc4Srjs SET_MultiTexEnviEXT(exec, _mesa_MultiTexEnviEXT); 55296c5ddc4Srjs SET_MultiTexEnvivEXT(exec, _mesa_MultiTexEnvivEXT); 55396c5ddc4Srjs SET_MultiTexGendEXT(exec, _mesa_MultiTexGendEXT); 55496c5ddc4Srjs SET_MultiTexGendvEXT(exec, _mesa_MultiTexGendvEXT); 55596c5ddc4Srjs SET_MultiTexGenfEXT(exec, _mesa_MultiTexGenfEXT); 55696c5ddc4Srjs SET_MultiTexGenfvEXT(exec, _mesa_MultiTexGenfvEXT); 55796c5ddc4Srjs SET_MultiTexGeniEXT(exec, _mesa_MultiTexGeniEXT); 55896c5ddc4Srjs SET_MultiTexGenivEXT(exec, _mesa_MultiTexGenivEXT); 55996c5ddc4Srjs SET_MultiTexImage1DEXT(exec, _mesa_MultiTexImage1DEXT); 56096c5ddc4Srjs SET_MultiTexImage2DEXT(exec, _mesa_MultiTexImage2DEXT); 56196c5ddc4Srjs SET_MultiTexImage3DEXT(exec, _mesa_MultiTexImage3DEXT); 56296c5ddc4Srjs SET_MultiTexParameterIivEXT(exec, _mesa_MultiTexParameterIivEXT); 56396c5ddc4Srjs SET_MultiTexParameterIuivEXT(exec, _mesa_MultiTexParameterIuivEXT); 56496c5ddc4Srjs SET_MultiTexParameterfEXT(exec, _mesa_MultiTexParameterfEXT); 56596c5ddc4Srjs SET_MultiTexParameterfvEXT(exec, _mesa_MultiTexParameterfvEXT); 56696c5ddc4Srjs SET_MultiTexParameteriEXT(exec, _mesa_MultiTexParameteriEXT); 56796c5ddc4Srjs SET_MultiTexParameterivEXT(exec, _mesa_MultiTexParameterivEXT); 56896c5ddc4Srjs SET_MultiTexSubImage1DEXT(exec, _mesa_MultiTexSubImage1DEXT); 56996c5ddc4Srjs SET_MultiTexSubImage2DEXT(exec, _mesa_MultiTexSubImage2DEXT); 57096c5ddc4Srjs SET_MultiTexSubImage3DEXT(exec, _mesa_MultiTexSubImage3DEXT); 57196c5ddc4Srjs SET_NamedBufferDataEXT(exec, _mesa_NamedBufferDataEXT); 572e64d31b9Smaya SET_NamedBufferPageCommitmentARB(exec, _mesa_NamedBufferPageCommitmentARB); 57396c5ddc4Srjs SET_NamedBufferPageCommitmentEXT(exec, _mesa_NamedBufferPageCommitmentEXT); 57496c5ddc4Srjs SET_NamedBufferStorageEXT(exec, _mesa_NamedBufferStorageEXT); 57596c5ddc4Srjs SET_NamedBufferSubDataEXT(exec, _mesa_NamedBufferSubDataEXT); 57696c5ddc4Srjs SET_NamedCopyBufferSubDataEXT(exec, _mesa_NamedCopyBufferSubDataEXT); 57796c5ddc4Srjs SET_NamedFramebufferParameteriEXT(exec, _mesa_NamedFramebufferParameteriEXT); 57896c5ddc4Srjs SET_NamedFramebufferRenderbufferEXT(exec, _mesa_NamedFramebufferRenderbufferEXT); 57996c5ddc4Srjs SET_NamedFramebufferTexture1DEXT(exec, _mesa_NamedFramebufferTexture1DEXT); 58096c5ddc4Srjs SET_NamedFramebufferTexture2DEXT(exec, _mesa_NamedFramebufferTexture2DEXT); 58196c5ddc4Srjs SET_NamedFramebufferTexture3DEXT(exec, _mesa_NamedFramebufferTexture3DEXT); 58296c5ddc4Srjs SET_NamedProgramLocalParameter4dEXT(exec, _mesa_NamedProgramLocalParameter4dEXT); 58396c5ddc4Srjs SET_NamedProgramLocalParameter4dvEXT(exec, _mesa_NamedProgramLocalParameter4dvEXT); 58496c5ddc4Srjs SET_NamedProgramLocalParameter4fEXT(exec, _mesa_NamedProgramLocalParameter4fEXT); 58596c5ddc4Srjs SET_NamedProgramLocalParameter4fvEXT(exec, _mesa_NamedProgramLocalParameter4fvEXT); 58696c5ddc4Srjs SET_NamedProgramLocalParameters4fvEXT(exec, _mesa_NamedProgramLocalParameters4fvEXT); 58796c5ddc4Srjs SET_NamedProgramStringEXT(exec, _mesa_NamedProgramStringEXT); 58896c5ddc4Srjs SET_NamedRenderbufferStorageEXT(exec, _mesa_NamedRenderbufferStorageEXT); 58996c5ddc4Srjs SET_NamedRenderbufferStorageMultisampleEXT(exec, _mesa_NamedRenderbufferStorageMultisampleEXT); 59096c5ddc4Srjs SET_NamedStringARB(exec, _mesa_NamedStringARB); 591e64d31b9Smaya SET_ObjectPurgeableAPPLE(exec, _mesa_ObjectPurgeableAPPLE); 592e64d31b9Smaya SET_ObjectUnpurgeableAPPLE(exec, _mesa_ObjectUnpurgeableAPPLE); 593e64d31b9Smaya SET_PatchParameterfv(exec, _mesa_PatchParameterfv); 594e64d31b9Smaya SET_PointParameteri(exec, _mesa_PointParameteri); 595e64d31b9Smaya SET_PointParameteriv(exec, _mesa_PointParameteriv); 596e64d31b9Smaya SET_ProgramUniform1d(exec, _mesa_ProgramUniform1d); 597e64d31b9Smaya SET_ProgramUniform1dv(exec, _mesa_ProgramUniform1dv); 598e64d31b9Smaya SET_ProgramUniform2d(exec, _mesa_ProgramUniform2d); 599e64d31b9Smaya SET_ProgramUniform2dv(exec, _mesa_ProgramUniform2dv); 600e64d31b9Smaya SET_ProgramUniform3d(exec, _mesa_ProgramUniform3d); 601e64d31b9Smaya SET_ProgramUniform3dv(exec, _mesa_ProgramUniform3dv); 602e64d31b9Smaya SET_ProgramUniform4d(exec, _mesa_ProgramUniform4d); 603e64d31b9Smaya SET_ProgramUniform4dv(exec, _mesa_ProgramUniform4dv); 604e64d31b9Smaya SET_ProgramUniformHandleui64ARB(exec, _mesa_ProgramUniformHandleui64ARB); 605e64d31b9Smaya SET_ProgramUniformHandleui64vARB(exec, _mesa_ProgramUniformHandleui64vARB); 606e64d31b9Smaya SET_ProgramUniformMatrix2dv(exec, _mesa_ProgramUniformMatrix2dv); 607e64d31b9Smaya SET_ProgramUniformMatrix2x3dv(exec, _mesa_ProgramUniformMatrix2x3dv); 608e64d31b9Smaya SET_ProgramUniformMatrix2x4dv(exec, _mesa_ProgramUniformMatrix2x4dv); 609e64d31b9Smaya SET_ProgramUniformMatrix3dv(exec, _mesa_ProgramUniformMatrix3dv); 610e64d31b9Smaya SET_ProgramUniformMatrix3x2dv(exec, _mesa_ProgramUniformMatrix3x2dv); 611e64d31b9Smaya SET_ProgramUniformMatrix3x4dv(exec, _mesa_ProgramUniformMatrix3x4dv); 612e64d31b9Smaya SET_ProgramUniformMatrix4dv(exec, _mesa_ProgramUniformMatrix4dv); 613e64d31b9Smaya SET_ProgramUniformMatrix4x2dv(exec, _mesa_ProgramUniformMatrix4x2dv); 614e64d31b9Smaya SET_ProgramUniformMatrix4x3dv(exec, _mesa_ProgramUniformMatrix4x3dv); 615e64d31b9Smaya SET_ProvokingVertex(exec, _mesa_ProvokingVertex); 61696c5ddc4Srjs SET_PushClientAttribDefaultEXT(exec, _mesa_PushClientAttribDefaultEXT); 617e64d31b9Smaya SET_SpecializeShaderARB(exec, _mesa_SpecializeShaderARB); 618e64d31b9Smaya SET_StringMarkerGREMEDY(exec, _mesa_StringMarkerGREMEDY); 619e64d31b9Smaya SET_TexImage2DMultisample(exec, _mesa_TexImage2DMultisample); 620e64d31b9Smaya SET_TexImage3DMultisample(exec, _mesa_TexImage3DMultisample); 621e64d31b9Smaya SET_TexStorageMem1DEXT(exec, _mesa_TexStorageMem1DEXT); 622e64d31b9Smaya SET_TextureBarrierNV(exec, _mesa_TextureBarrierNV); 62396c5ddc4Srjs SET_TextureBufferEXT(exec, _mesa_TextureBufferEXT); 62496c5ddc4Srjs SET_TextureBufferRangeEXT(exec, _mesa_TextureBufferRangeEXT); 62596c5ddc4Srjs SET_TextureImage1DEXT(exec, _mesa_TextureImage1DEXT); 62696c5ddc4Srjs SET_TextureImage2DEXT(exec, _mesa_TextureImage2DEXT); 62796c5ddc4Srjs SET_TextureImage3DEXT(exec, _mesa_TextureImage3DEXT); 62896c5ddc4Srjs SET_TextureParameterIivEXT(exec, _mesa_TextureParameterIivEXT); 62996c5ddc4Srjs SET_TextureParameterIuivEXT(exec, _mesa_TextureParameterIuivEXT); 63096c5ddc4Srjs SET_TextureParameterfEXT(exec, _mesa_TextureParameterfEXT); 63196c5ddc4Srjs SET_TextureParameterfvEXT(exec, _mesa_TextureParameterfvEXT); 63296c5ddc4Srjs SET_TextureParameteriEXT(exec, _mesa_TextureParameteriEXT); 63396c5ddc4Srjs SET_TextureParameterivEXT(exec, _mesa_TextureParameterivEXT); 634e64d31b9Smaya SET_TextureStorage1DEXT(exec, _mesa_TextureStorage1DEXT); 635e64d31b9Smaya SET_TextureStorage2DEXT(exec, _mesa_TextureStorage2DEXT); 63696c5ddc4Srjs SET_TextureStorage2DMultisampleEXT(exec, _mesa_TextureStorage2DMultisampleEXT); 637e64d31b9Smaya SET_TextureStorage3DEXT(exec, _mesa_TextureStorage3DEXT); 63896c5ddc4Srjs SET_TextureStorage3DMultisampleEXT(exec, _mesa_TextureStorage3DMultisampleEXT); 639e64d31b9Smaya SET_TextureStorageMem1DEXT(exec, _mesa_TextureStorageMem1DEXT); 64096c5ddc4Srjs SET_TextureSubImage1DEXT(exec, _mesa_TextureSubImage1DEXT); 64196c5ddc4Srjs SET_TextureSubImage2DEXT(exec, _mesa_TextureSubImage2DEXT); 64296c5ddc4Srjs SET_TextureSubImage3DEXT(exec, _mesa_TextureSubImage3DEXT); 643e64d31b9Smaya SET_UniformHandleui64ARB(exec, _mesa_UniformHandleui64ARB); 644e64d31b9Smaya SET_UniformHandleui64vARB(exec, _mesa_UniformHandleui64vARB); 645e64d31b9Smaya SET_VDPAUFiniNV(exec, _mesa_VDPAUFiniNV); 646e64d31b9Smaya SET_VDPAUGetSurfaceivNV(exec, _mesa_VDPAUGetSurfaceivNV); 647e64d31b9Smaya SET_VDPAUInitNV(exec, _mesa_VDPAUInitNV); 648e64d31b9Smaya SET_VDPAUIsSurfaceNV(exec, _mesa_VDPAUIsSurfaceNV); 649e64d31b9Smaya SET_VDPAUMapSurfacesNV(exec, _mesa_VDPAUMapSurfacesNV); 650e64d31b9Smaya SET_VDPAURegisterOutputSurfaceNV(exec, _mesa_VDPAURegisterOutputSurfaceNV); 651e64d31b9Smaya SET_VDPAURegisterVideoSurfaceNV(exec, _mesa_VDPAURegisterVideoSurfaceNV); 652e64d31b9Smaya SET_VDPAUSurfaceAccessNV(exec, _mesa_VDPAUSurfaceAccessNV); 653e64d31b9Smaya SET_VDPAUUnmapSurfacesNV(exec, _mesa_VDPAUUnmapSurfacesNV); 654e64d31b9Smaya SET_VDPAUUnregisterSurfaceNV(exec, _mesa_VDPAUUnregisterSurfaceNV); 65596c5ddc4Srjs SET_VertexArrayBindVertexBufferEXT(exec, _mesa_VertexArrayBindVertexBufferEXT); 65696c5ddc4Srjs SET_VertexArrayColorOffsetEXT(exec, _mesa_VertexArrayColorOffsetEXT); 65796c5ddc4Srjs SET_VertexArrayEdgeFlagOffsetEXT(exec, _mesa_VertexArrayEdgeFlagOffsetEXT); 65896c5ddc4Srjs SET_VertexArrayFogCoordOffsetEXT(exec, _mesa_VertexArrayFogCoordOffsetEXT); 65996c5ddc4Srjs SET_VertexArrayIndexOffsetEXT(exec, _mesa_VertexArrayIndexOffsetEXT); 66096c5ddc4Srjs SET_VertexArrayMultiTexCoordOffsetEXT(exec, _mesa_VertexArrayMultiTexCoordOffsetEXT); 66196c5ddc4Srjs SET_VertexArrayNormalOffsetEXT(exec, _mesa_VertexArrayNormalOffsetEXT); 66296c5ddc4Srjs SET_VertexArraySecondaryColorOffsetEXT(exec, _mesa_VertexArraySecondaryColorOffsetEXT); 66396c5ddc4Srjs SET_VertexArrayTexCoordOffsetEXT(exec, _mesa_VertexArrayTexCoordOffsetEXT); 66496c5ddc4Srjs SET_VertexArrayVertexAttribBindingEXT(exec, _mesa_VertexArrayVertexAttribBindingEXT); 66596c5ddc4Srjs SET_VertexArrayVertexAttribDivisorEXT(exec, _mesa_VertexArrayVertexAttribDivisorEXT); 66696c5ddc4Srjs SET_VertexArrayVertexAttribFormatEXT(exec, _mesa_VertexArrayVertexAttribFormatEXT); 66796c5ddc4Srjs SET_VertexArrayVertexAttribIFormatEXT(exec, _mesa_VertexArrayVertexAttribIFormatEXT); 66896c5ddc4Srjs SET_VertexArrayVertexAttribIOffsetEXT(exec, _mesa_VertexArrayVertexAttribIOffsetEXT); 66996c5ddc4Srjs SET_VertexArrayVertexAttribLFormatEXT(exec, _mesa_VertexArrayVertexAttribLFormatEXT); 67096c5ddc4Srjs SET_VertexArrayVertexAttribLOffsetEXT(exec, _mesa_VertexArrayVertexAttribLOffsetEXT); 67196c5ddc4Srjs SET_VertexArrayVertexAttribOffsetEXT(exec, _mesa_VertexArrayVertexAttribOffsetEXT); 67296c5ddc4Srjs SET_VertexArrayVertexBindingDivisorEXT(exec, _mesa_VertexArrayVertexBindingDivisorEXT); 67396c5ddc4Srjs SET_VertexArrayVertexOffsetEXT(exec, _mesa_VertexArrayVertexOffsetEXT); 674e64d31b9Smaya SET_VertexAttribLFormat(exec, _mesa_VertexAttribLFormat); 675e64d31b9Smaya } 676e64d31b9Smaya if (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 30)) { 677e64d31b9Smaya SET_BindBufferBase(exec, _mesa_BindBufferBase); 678e64d31b9Smaya SET_ColorMaski(exec, _mesa_ColorMaski); 679e64d31b9Smaya SET_DeleteTransformFeedbacks(exec, _mesa_DeleteTransformFeedbacks); 680e64d31b9Smaya SET_Disablei(exec, _mesa_Disablei); 68196c5ddc4Srjs SET_DrawArraysInstancedARB(exec, _mesa_DrawArraysInstancedARB); 68296c5ddc4Srjs SET_DrawArraysInstancedBaseInstance(exec, _mesa_DrawArraysInstancedBaseInstance); 68396c5ddc4Srjs SET_DrawElementsInstancedARB(exec, _mesa_DrawElementsInstancedARB); 68496c5ddc4Srjs SET_DrawElementsInstancedBaseInstance(exec, _mesa_DrawElementsInstancedBaseInstance); 68596c5ddc4Srjs SET_DrawElementsInstancedBaseVertex(exec, _mesa_DrawElementsInstancedBaseVertex); 68696c5ddc4Srjs SET_DrawElementsInstancedBaseVertexBaseInstance(exec, _mesa_DrawElementsInstancedBaseVertexBaseInstance); 68796c5ddc4Srjs SET_DrawRangeElements(exec, _mesa_DrawRangeElements); 68896c5ddc4Srjs SET_DrawRangeElementsBaseVertex(exec, _mesa_DrawRangeElementsBaseVertex); 68996c5ddc4Srjs SET_EGLImageTargetTexStorageEXT(exec, _mesa_EGLImageTargetTexStorageEXT); 690e64d31b9Smaya SET_Enablei(exec, _mesa_Enablei); 691e64d31b9Smaya SET_GenTransformFeedbacks(exec, _mesa_GenTransformFeedbacks); 692e64d31b9Smaya SET_GetActiveUniformBlockName(exec, _mesa_GetActiveUniformBlockName); 693e64d31b9Smaya SET_GetActiveUniformBlockiv(exec, _mesa_GetActiveUniformBlockiv); 694e64d31b9Smaya SET_GetActiveUniformsiv(exec, _mesa_GetActiveUniformsiv); 695e64d31b9Smaya SET_GetBufferParameteri64v(exec, _mesa_GetBufferParameteri64v); 696e64d31b9Smaya SET_GetFragDataIndex(exec, _mesa_GetFragDataIndex); 697e64d31b9Smaya SET_GetFragDataLocation(exec, _mesa_GetFragDataLocation); 698e64d31b9Smaya SET_GetInteger64i_v(exec, _mesa_GetInteger64i_v); 699e64d31b9Smaya SET_GetIntegeri_v(exec, _mesa_GetIntegeri_v); 700e64d31b9Smaya SET_GetInternalformati64v(exec, _mesa_GetInternalformati64v); 701e64d31b9Smaya SET_GetInternalformativ(exec, _mesa_GetInternalformativ); 702e64d31b9Smaya SET_GetSamplerParameterIiv(exec, _mesa_GetSamplerParameterIiv); 703e64d31b9Smaya SET_GetSamplerParameterIuiv(exec, _mesa_GetSamplerParameterIuiv); 704e64d31b9Smaya SET_GetSamplerParameterfv(exec, _mesa_GetSamplerParameterfv); 705e64d31b9Smaya SET_GetSamplerParameteriv(exec, _mesa_GetSamplerParameteriv); 706e64d31b9Smaya SET_GetStringi(exec, _mesa_GetStringi); 707e64d31b9Smaya SET_GetSynciv(exec, _mesa_GetSynciv); 708e64d31b9Smaya SET_GetTexParameterIiv(exec, _mesa_GetTexParameterIiv); 709e64d31b9Smaya SET_GetTexParameterIuiv(exec, _mesa_GetTexParameterIuiv); 710e64d31b9Smaya SET_GetTransformFeedbackVarying(exec, _mesa_GetTransformFeedbackVarying); 711e64d31b9Smaya SET_GetUniformBlockIndex(exec, _mesa_GetUniformBlockIndex); 712e64d31b9Smaya SET_GetUniformIndices(exec, _mesa_GetUniformIndices); 713e64d31b9Smaya SET_GetUniformuiv(exec, _mesa_GetUniformuiv); 714e64d31b9Smaya SET_GetVertexAttribIiv(exec, _mesa_GetVertexAttribIiv); 715e64d31b9Smaya SET_GetVertexAttribIuiv(exec, _mesa_GetVertexAttribIuiv); 716e64d31b9Smaya SET_IsEnabledi(exec, _mesa_IsEnabledi); 717e64d31b9Smaya SET_IsSampler(exec, _mesa_IsSampler); 718e64d31b9Smaya SET_IsSync(exec, _mesa_IsSync); 719e64d31b9Smaya SET_IsTransformFeedback(exec, _mesa_IsTransformFeedback); 720e64d31b9Smaya SET_NamedRenderbufferStorageMultisampleAdvancedAMD(exec, _mesa_NamedRenderbufferStorageMultisampleAdvancedAMD); 721e64d31b9Smaya SET_ProgramUniform1ui(exec, _mesa_ProgramUniform1ui); 722e64d31b9Smaya SET_ProgramUniform1uiv(exec, _mesa_ProgramUniform1uiv); 723e64d31b9Smaya SET_ProgramUniform2ui(exec, _mesa_ProgramUniform2ui); 724e64d31b9Smaya SET_ProgramUniform2uiv(exec, _mesa_ProgramUniform2uiv); 725e64d31b9Smaya SET_ProgramUniform3ui(exec, _mesa_ProgramUniform3ui); 726e64d31b9Smaya SET_ProgramUniform3uiv(exec, _mesa_ProgramUniform3uiv); 727e64d31b9Smaya SET_ProgramUniform4ui(exec, _mesa_ProgramUniform4ui); 728e64d31b9Smaya SET_ProgramUniform4uiv(exec, _mesa_ProgramUniform4uiv); 729e64d31b9Smaya SET_RenderbufferStorageMultisampleAdvancedAMD(exec, _mesa_RenderbufferStorageMultisampleAdvancedAMD); 730e64d31b9Smaya SET_SamplerParameterIiv(exec, _mesa_SamplerParameterIiv); 731e64d31b9Smaya SET_SamplerParameterIuiv(exec, _mesa_SamplerParameterIuiv); 732e64d31b9Smaya SET_SamplerParameterf(exec, _mesa_SamplerParameterf); 733e64d31b9Smaya SET_SamplerParameterfv(exec, _mesa_SamplerParameterfv); 734e64d31b9Smaya SET_SamplerParameteri(exec, _mesa_SamplerParameteri); 735e64d31b9Smaya SET_SamplerParameteriv(exec, _mesa_SamplerParameteriv); 736e64d31b9Smaya SET_TexParameterIiv(exec, _mesa_TexParameterIiv); 737e64d31b9Smaya SET_TexParameterIuiv(exec, _mesa_TexParameterIuiv); 738e64d31b9Smaya SET_Uniform1ui(exec, _mesa_Uniform1ui); 739e64d31b9Smaya SET_Uniform1uiv(exec, _mesa_Uniform1uiv); 740e64d31b9Smaya SET_Uniform2ui(exec, _mesa_Uniform2ui); 741e64d31b9Smaya SET_Uniform2uiv(exec, _mesa_Uniform2uiv); 742e64d31b9Smaya SET_Uniform3ui(exec, _mesa_Uniform3ui); 743e64d31b9Smaya SET_Uniform3uiv(exec, _mesa_Uniform3uiv); 744e64d31b9Smaya SET_Uniform4ui(exec, _mesa_Uniform4ui); 745e64d31b9Smaya SET_Uniform4uiv(exec, _mesa_Uniform4uiv); 746e64d31b9Smaya SET_UniformMatrix2x3fv(exec, _mesa_UniformMatrix2x3fv); 747e64d31b9Smaya SET_UniformMatrix2x4fv(exec, _mesa_UniformMatrix2x4fv); 748e64d31b9Smaya SET_UniformMatrix3x2fv(exec, _mesa_UniformMatrix3x2fv); 749e64d31b9Smaya SET_UniformMatrix3x4fv(exec, _mesa_UniformMatrix3x4fv); 750e64d31b9Smaya SET_UniformMatrix4x2fv(exec, _mesa_UniformMatrix4x2fv); 751e64d31b9Smaya SET_UniformMatrix4x3fv(exec, _mesa_UniformMatrix4x3fv); 752e64d31b9Smaya SET_WindowRectanglesEXT(exec, _mesa_WindowRectanglesEXT); 753e64d31b9Smaya } 754e64d31b9Smaya if (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 31)) { 75596c5ddc4Srjs SET_ClearTexImage(exec, _mesa_ClearTexImage); 75696c5ddc4Srjs SET_ClearTexSubImage(exec, _mesa_ClearTexSubImage); 75796c5ddc4Srjs SET_DrawArraysIndirect(exec, _mesa_DrawArraysIndirect); 75896c5ddc4Srjs SET_DrawElementsIndirect(exec, _mesa_DrawElementsIndirect); 759e64d31b9Smaya SET_EvaluateDepthValuesARB(exec, _mesa_EvaluateDepthValuesARB); 760e64d31b9Smaya SET_GetBooleani_v(exec, _mesa_GetBooleani_v); 761e64d31b9Smaya SET_GetFloati_v(exec, _mesa_GetFloati_v); 762e64d31b9Smaya SET_GetMultisamplefv(exec, _mesa_GetMultisamplefv); 763e64d31b9Smaya SET_GetProgramInterfaceiv(exec, _mesa_GetProgramInterfaceiv); 764e64d31b9Smaya SET_GetProgramResourceIndex(exec, _mesa_GetProgramResourceIndex); 765e64d31b9Smaya SET_GetProgramResourceLocation(exec, _mesa_GetProgramResourceLocation); 766e64d31b9Smaya SET_GetProgramResourceLocationIndex(exec, _mesa_GetProgramResourceLocationIndex); 767e64d31b9Smaya SET_GetProgramResourceName(exec, _mesa_GetProgramResourceName); 768e64d31b9Smaya SET_GetProgramResourceiv(exec, _mesa_GetProgramResourceiv); 769e64d31b9Smaya SET_GetTexLevelParameterfv(exec, _mesa_GetTexLevelParameterfv); 770e64d31b9Smaya SET_GetTexLevelParameteriv(exec, _mesa_GetTexLevelParameteriv); 771e64d31b9Smaya SET_MemoryBarrier(exec, _mesa_MemoryBarrier); 77296c5ddc4Srjs SET_PrimitiveBoundingBox(exec, _mesa_PrimitiveBoundingBox); 773e64d31b9Smaya SET_TexStorage2DMultisample(exec, _mesa_TexStorage2DMultisample); 774e64d31b9Smaya SET_TexStorage3DMultisample(exec, _mesa_TexStorage3DMultisample); 775e64d31b9Smaya SET_VertexAttribFormat(exec, _mesa_VertexAttribFormat); 776e64d31b9Smaya SET_VertexAttribIFormat(exec, _mesa_VertexAttribIFormat); 777e64d31b9Smaya } 778e64d31b9Smaya if (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 32)) { 779e64d31b9Smaya SET_CreateMemoryObjectsEXT(exec, _mesa_CreateMemoryObjectsEXT); 780e64d31b9Smaya SET_DeleteMemoryObjectsEXT(exec, _mesa_DeleteMemoryObjectsEXT); 781e64d31b9Smaya SET_DeleteSemaphoresEXT(exec, _mesa_DeleteSemaphoresEXT); 782e64d31b9Smaya SET_GenSemaphoresEXT(exec, _mesa_GenSemaphoresEXT); 783e64d31b9Smaya SET_GetMemoryObjectParameterivEXT(exec, _mesa_GetMemoryObjectParameterivEXT); 784e64d31b9Smaya SET_GetSemaphoreParameterui64vEXT(exec, _mesa_GetSemaphoreParameterui64vEXT); 785e64d31b9Smaya SET_GetUnsignedBytei_vEXT(exec, _mesa_GetUnsignedBytei_vEXT); 786e64d31b9Smaya SET_GetUnsignedBytevEXT(exec, _mesa_GetUnsignedBytevEXT); 787e64d31b9Smaya SET_ImportMemoryFdEXT(exec, _mesa_ImportMemoryFdEXT); 788e64d31b9Smaya SET_ImportSemaphoreFdEXT(exec, _mesa_ImportSemaphoreFdEXT); 789e64d31b9Smaya SET_IsMemoryObjectEXT(exec, _mesa_IsMemoryObjectEXT); 790e64d31b9Smaya SET_IsSemaphoreEXT(exec, _mesa_IsSemaphoreEXT); 791e64d31b9Smaya SET_MemoryObjectParameterivEXT(exec, _mesa_MemoryObjectParameterivEXT); 792e64d31b9Smaya SET_SemaphoreParameterui64vEXT(exec, _mesa_SemaphoreParameterui64vEXT); 793e64d31b9Smaya SET_SignalSemaphoreEXT(exec, _mesa_SignalSemaphoreEXT); 794e64d31b9Smaya SET_TexStorageMem2DEXT(exec, _mesa_TexStorageMem2DEXT); 795e64d31b9Smaya SET_TexStorageMem2DMultisampleEXT(exec, _mesa_TexStorageMem2DMultisampleEXT); 796e64d31b9Smaya SET_TexStorageMem3DEXT(exec, _mesa_TexStorageMem3DEXT); 797e64d31b9Smaya SET_TexStorageMem3DMultisampleEXT(exec, _mesa_TexStorageMem3DMultisampleEXT); 798e64d31b9Smaya SET_TextureStorageMem2DEXT(exec, _mesa_TextureStorageMem2DEXT); 799e64d31b9Smaya SET_TextureStorageMem2DMultisampleEXT(exec, _mesa_TextureStorageMem2DMultisampleEXT); 800e64d31b9Smaya SET_TextureStorageMem3DEXT(exec, _mesa_TextureStorageMem3DEXT); 801e64d31b9Smaya SET_TextureStorageMem3DMultisampleEXT(exec, _mesa_TextureStorageMem3DMultisampleEXT); 802e64d31b9Smaya SET_WaitSemaphoreEXT(exec, _mesa_WaitSemaphoreEXT); 803e64d31b9Smaya } 804e64d31b9Smaya if (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES) { 805e64d31b9Smaya SET_PointParameterf(exec, _mesa_PointParameterf); 806e64d31b9Smaya SET_PointParameterfv(exec, _mesa_PointParameterfv); 807e64d31b9Smaya } 808e64d31b9Smaya if (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2) { 809e64d31b9Smaya SET_BindFramebuffer(exec, _mesa_BindFramebuffer); 810e64d31b9Smaya SET_BindRenderbuffer(exec, _mesa_BindRenderbuffer); 811e64d31b9Smaya SET_BlendEquation(exec, _mesa_BlendEquation); 812e64d31b9Smaya SET_ClearColor(exec, _mesa_ClearColor); 813e64d31b9Smaya SET_ClearDepthf(exec, _mesa_ClearDepthf); 814e64d31b9Smaya SET_ClearStencil(exec, _mesa_ClearStencil); 815e64d31b9Smaya SET_ColorMask(exec, _mesa_ColorMask); 816e64d31b9Smaya SET_DebugMessageCallback(exec, _mesa_DebugMessageCallback); 817e64d31b9Smaya SET_DebugMessageControl(exec, _mesa_DebugMessageControl); 818e64d31b9Smaya SET_DebugMessageInsert(exec, _mesa_DebugMessageInsert); 819e64d31b9Smaya SET_DeleteFramebuffers(exec, _mesa_DeleteFramebuffers); 820e64d31b9Smaya SET_DeleteRenderbuffers(exec, _mesa_DeleteRenderbuffers); 821e64d31b9Smaya SET_DepthMask(exec, _mesa_DepthMask); 822e64d31b9Smaya SET_DepthRangef(exec, _mesa_DepthRangef); 823e64d31b9Smaya SET_Disable(exec, _mesa_Disable); 82496c5ddc4Srjs SET_DrawArrays(exec, _mesa_DrawArrays); 82596c5ddc4Srjs SET_DrawElements(exec, _mesa_DrawElements); 826e64d31b9Smaya SET_EGLImageTargetRenderbufferStorageOES(exec, _mesa_EGLImageTargetRenderbufferStorageOES); 827e64d31b9Smaya SET_EGLImageTargetTexture2DOES(exec, _mesa_EGLImageTargetTexture2DOES); 828e64d31b9Smaya SET_Enable(exec, _mesa_Enable); 829e64d31b9Smaya SET_Finish(exec, _mesa_Finish); 830e64d31b9Smaya SET_Flush(exec, _mesa_Flush); 831e64d31b9Smaya SET_GenFramebuffers(exec, _mesa_GenFramebuffers); 832e64d31b9Smaya SET_GetBooleanv(exec, _mesa_GetBooleanv); 833e64d31b9Smaya SET_GetBufferParameteriv(exec, _mesa_GetBufferParameteriv); 834e64d31b9Smaya SET_GetBufferPointerv(exec, _mesa_GetBufferPointerv); 835e64d31b9Smaya SET_GetDebugMessageLog(exec, _mesa_GetDebugMessageLog); 836e64d31b9Smaya SET_GetError(exec, _mesa_GetError); 837e64d31b9Smaya SET_GetFloatv(exec, _mesa_GetFloatv); 838e64d31b9Smaya SET_GetFramebufferAttachmentParameteriv(exec, _mesa_GetFramebufferAttachmentParameteriv); 839e64d31b9Smaya SET_GetIntegerv(exec, _mesa_GetIntegerv); 840e64d31b9Smaya SET_GetObjectLabel(exec, _mesa_GetObjectLabel); 841e64d31b9Smaya SET_GetObjectPtrLabel(exec, _mesa_GetObjectPtrLabel); 842e64d31b9Smaya SET_GetPointerv(exec, _mesa_GetPointerv); 843e64d31b9Smaya SET_GetRenderbufferParameteriv(exec, _mesa_GetRenderbufferParameteriv); 844e64d31b9Smaya SET_GetString(exec, _mesa_GetString); 845e64d31b9Smaya SET_GetTexParameterfv(exec, _mesa_GetTexParameterfv); 846e64d31b9Smaya SET_GetTexParameteriv(exec, _mesa_GetTexParameteriv); 847e64d31b9Smaya SET_Hint(exec, _mesa_Hint); 848e64d31b9Smaya SET_IsBuffer(exec, _mesa_IsBuffer); 849e64d31b9Smaya SET_IsEnabled(exec, _mesa_IsEnabled); 850e64d31b9Smaya SET_IsFramebuffer(exec, _mesa_IsFramebuffer); 851e64d31b9Smaya SET_IsRenderbuffer(exec, _mesa_IsRenderbuffer); 852e64d31b9Smaya SET_IsTexture(exec, _mesa_IsTexture); 85396c5ddc4Srjs SET_MultiDrawArrays(exec, _mesa_MultiDrawArrays); 85496c5ddc4Srjs SET_MultiDrawElementsEXT(exec, _mesa_MultiDrawElementsEXT); 855e64d31b9Smaya SET_ObjectLabel(exec, _mesa_ObjectLabel); 856e64d31b9Smaya SET_ObjectPtrLabel(exec, _mesa_ObjectPtrLabel); 857e64d31b9Smaya SET_PolygonOffset(exec, _mesa_PolygonOffset); 858e64d31b9Smaya SET_PolygonOffsetClampEXT(exec, _mesa_PolygonOffsetClampEXT); 859e64d31b9Smaya SET_PopDebugGroup(exec, _mesa_PopDebugGroup); 860e64d31b9Smaya SET_PushDebugGroup(exec, _mesa_PushDebugGroup); 861e64d31b9Smaya SET_RenderbufferStorage(exec, _mesa_RenderbufferStorage); 862e64d31b9Smaya SET_SampleCoverage(exec, _mesa_SampleCoverage); 863e64d31b9Smaya SET_StencilMask(exec, _mesa_StencilMask); 864e64d31b9Smaya SET_TexParameterf(exec, _mesa_TexParameterf); 865e64d31b9Smaya SET_TexParameterfv(exec, _mesa_TexParameterfv); 866e64d31b9Smaya SET_TexParameteri(exec, _mesa_TexParameteri); 867e64d31b9Smaya SET_TexParameteriv(exec, _mesa_TexParameteriv); 868e64d31b9Smaya } 869e64d31b9Smaya if (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2) { 870e64d31b9Smaya SET_BeginPerfMonitorAMD(exec, _mesa_BeginPerfMonitorAMD); 871e64d31b9Smaya SET_BeginPerfQueryINTEL(exec, _mesa_BeginPerfQueryINTEL); 872e64d31b9Smaya SET_BeginQuery(exec, _mesa_BeginQuery); 873e64d31b9Smaya SET_BlendBarrier(exec, _mesa_BlendBarrier); 874e64d31b9Smaya SET_BlendColor(exec, _mesa_BlendColor); 875e64d31b9Smaya SET_CompileShader(exec, _mesa_CompileShader); 876e64d31b9Smaya SET_CreatePerfQueryINTEL(exec, _mesa_CreatePerfQueryINTEL); 877e64d31b9Smaya SET_CreateProgram(exec, _mesa_CreateProgram); 878e64d31b9Smaya SET_CreateShaderProgramv(exec, _mesa_CreateShaderProgramv); 879e64d31b9Smaya SET_DeletePerfMonitorsAMD(exec, _mesa_DeletePerfMonitorsAMD); 880e64d31b9Smaya SET_DeletePerfQueryINTEL(exec, _mesa_DeletePerfQueryINTEL); 881e64d31b9Smaya SET_DeleteProgram(exec, _mesa_DeleteProgram); 882e64d31b9Smaya SET_DeleteProgramPipelines(exec, _mesa_DeleteProgramPipelines); 883e64d31b9Smaya SET_DeleteQueries(exec, _mesa_DeleteQueries); 884e64d31b9Smaya SET_DeleteShader(exec, _mesa_DeleteShader); 88596c5ddc4Srjs SET_DrawElementsBaseVertex(exec, _mesa_DrawElementsBaseVertex); 886e64d31b9Smaya SET_EndPerfMonitorAMD(exec, _mesa_EndPerfMonitorAMD); 887e64d31b9Smaya SET_EndPerfQueryINTEL(exec, _mesa_EndPerfQueryINTEL); 888e64d31b9Smaya SET_EndQuery(exec, _mesa_EndQuery); 889e64d31b9Smaya SET_FramebufferFetchBarrierEXT(exec, _mesa_FramebufferFetchBarrierEXT); 890e64d31b9Smaya SET_GenPerfMonitorsAMD(exec, _mesa_GenPerfMonitorsAMD); 891e64d31b9Smaya SET_GenQueries(exec, _mesa_GenQueries); 892e64d31b9Smaya SET_GetActiveAttrib(exec, _mesa_GetActiveAttrib); 893e64d31b9Smaya SET_GetActiveUniform(exec, _mesa_GetActiveUniform); 894e64d31b9Smaya SET_GetAttachedShaders(exec, _mesa_GetAttachedShaders); 895e64d31b9Smaya SET_GetAttribLocation(exec, _mesa_GetAttribLocation); 896e64d31b9Smaya SET_GetFirstPerfQueryIdINTEL(exec, _mesa_GetFirstPerfQueryIdINTEL); 897e64d31b9Smaya SET_GetGraphicsResetStatusARB(exec, _mesa_GetGraphicsResetStatusARB); 89896c5ddc4Srjs SET_GetInteger64v(exec, _mesa_GetInteger64v); 899e64d31b9Smaya SET_GetNextPerfQueryIdINTEL(exec, _mesa_GetNextPerfQueryIdINTEL); 900e64d31b9Smaya SET_GetPerfCounterInfoINTEL(exec, _mesa_GetPerfCounterInfoINTEL); 901e64d31b9Smaya SET_GetPerfMonitorCounterDataAMD(exec, _mesa_GetPerfMonitorCounterDataAMD); 902e64d31b9Smaya SET_GetPerfMonitorCounterInfoAMD(exec, _mesa_GetPerfMonitorCounterInfoAMD); 903e64d31b9Smaya SET_GetPerfMonitorCounterStringAMD(exec, _mesa_GetPerfMonitorCounterStringAMD); 904e64d31b9Smaya SET_GetPerfMonitorCountersAMD(exec, _mesa_GetPerfMonitorCountersAMD); 905e64d31b9Smaya SET_GetPerfMonitorGroupStringAMD(exec, _mesa_GetPerfMonitorGroupStringAMD); 906e64d31b9Smaya SET_GetPerfMonitorGroupsAMD(exec, _mesa_GetPerfMonitorGroupsAMD); 907e64d31b9Smaya SET_GetPerfQueryDataINTEL(exec, _mesa_GetPerfQueryDataINTEL); 908e64d31b9Smaya SET_GetPerfQueryIdByNameINTEL(exec, _mesa_GetPerfQueryIdByNameINTEL); 909e64d31b9Smaya SET_GetPerfQueryInfoINTEL(exec, _mesa_GetPerfQueryInfoINTEL); 910e64d31b9Smaya SET_GetProgramBinary(exec, _mesa_GetProgramBinary); 911e64d31b9Smaya SET_GetProgramInfoLog(exec, _mesa_GetProgramInfoLog); 912e64d31b9Smaya SET_GetProgramPipelineInfoLog(exec, _mesa_GetProgramPipelineInfoLog); 913e64d31b9Smaya SET_GetProgramPipelineiv(exec, _mesa_GetProgramPipelineiv); 914e64d31b9Smaya SET_GetProgramiv(exec, _mesa_GetProgramiv); 915e64d31b9Smaya SET_GetQueryObjecti64v(exec, _mesa_GetQueryObjecti64v); 916e64d31b9Smaya SET_GetQueryObjectiv(exec, _mesa_GetQueryObjectiv); 917e64d31b9Smaya SET_GetQueryObjectui64v(exec, _mesa_GetQueryObjectui64v); 918e64d31b9Smaya SET_GetQueryObjectuiv(exec, _mesa_GetQueryObjectuiv); 919e64d31b9Smaya SET_GetQueryiv(exec, _mesa_GetQueryiv); 920e64d31b9Smaya SET_GetShaderInfoLog(exec, _mesa_GetShaderInfoLog); 921e64d31b9Smaya SET_GetShaderPrecisionFormat(exec, _mesa_GetShaderPrecisionFormat); 922e64d31b9Smaya SET_GetShaderSource(exec, _mesa_GetShaderSource); 923e64d31b9Smaya SET_GetShaderiv(exec, _mesa_GetShaderiv); 924e64d31b9Smaya SET_GetUniformfv(exec, _mesa_GetUniformfv); 925e64d31b9Smaya SET_GetUniformiv(exec, _mesa_GetUniformiv); 926e64d31b9Smaya SET_GetVertexAttribPointerv(exec, _mesa_GetVertexAttribPointerv); 927e64d31b9Smaya SET_GetVertexAttribfv(exec, _mesa_GetVertexAttribfv); 928e64d31b9Smaya SET_GetVertexAttribiv(exec, _mesa_GetVertexAttribiv); 929e64d31b9Smaya SET_GetnUniformfvARB(exec, _mesa_GetnUniformfvARB); 930e64d31b9Smaya SET_GetnUniformivARB(exec, _mesa_GetnUniformivARB); 931e64d31b9Smaya SET_GetnUniformuivARB(exec, _mesa_GetnUniformuivARB); 93296c5ddc4Srjs SET_InternalBufferSubDataCopyMESA(exec, _mesa_InternalBufferSubDataCopyMESA); 93396c5ddc4Srjs SET_InternalSetError(exec, _mesa_InternalSetError); 934e64d31b9Smaya SET_IsProgram(exec, _mesa_IsProgram); 935e64d31b9Smaya SET_IsProgramPipeline(exec, _mesa_IsProgramPipeline); 936e64d31b9Smaya SET_IsQuery(exec, _mesa_IsQuery); 937e64d31b9Smaya SET_IsShader(exec, _mesa_IsShader); 938e64d31b9Smaya SET_IsVertexArray(exec, _mesa_IsVertexArray); 939e64d31b9Smaya SET_MaxShaderCompilerThreadsKHR(exec, _mesa_MaxShaderCompilerThreadsKHR); 94096c5ddc4Srjs SET_MultiDrawElementsBaseVertex(exec, _mesa_MultiDrawElementsBaseVertex); 941e64d31b9Smaya SET_ProgramBinary(exec, _mesa_ProgramBinary); 942e64d31b9Smaya SET_ProgramUniform1f(exec, _mesa_ProgramUniform1f); 943e64d31b9Smaya SET_ProgramUniform1fv(exec, _mesa_ProgramUniform1fv); 944e64d31b9Smaya SET_ProgramUniform1i(exec, _mesa_ProgramUniform1i); 945e64d31b9Smaya SET_ProgramUniform1iv(exec, _mesa_ProgramUniform1iv); 946e64d31b9Smaya SET_ProgramUniform2f(exec, _mesa_ProgramUniform2f); 947e64d31b9Smaya SET_ProgramUniform2fv(exec, _mesa_ProgramUniform2fv); 948e64d31b9Smaya SET_ProgramUniform2i(exec, _mesa_ProgramUniform2i); 949e64d31b9Smaya SET_ProgramUniform2iv(exec, _mesa_ProgramUniform2iv); 950e64d31b9Smaya SET_ProgramUniform3f(exec, _mesa_ProgramUniform3f); 951e64d31b9Smaya SET_ProgramUniform3fv(exec, _mesa_ProgramUniform3fv); 952e64d31b9Smaya SET_ProgramUniform3i(exec, _mesa_ProgramUniform3i); 953e64d31b9Smaya SET_ProgramUniform3iv(exec, _mesa_ProgramUniform3iv); 954e64d31b9Smaya SET_ProgramUniform4f(exec, _mesa_ProgramUniform4f); 955e64d31b9Smaya SET_ProgramUniform4fv(exec, _mesa_ProgramUniform4fv); 956e64d31b9Smaya SET_ProgramUniform4i(exec, _mesa_ProgramUniform4i); 957e64d31b9Smaya SET_ProgramUniform4iv(exec, _mesa_ProgramUniform4iv); 958e64d31b9Smaya SET_ProgramUniformMatrix2fv(exec, _mesa_ProgramUniformMatrix2fv); 959e64d31b9Smaya SET_ProgramUniformMatrix2x3fv(exec, _mesa_ProgramUniformMatrix2x3fv); 960e64d31b9Smaya SET_ProgramUniformMatrix2x4fv(exec, _mesa_ProgramUniformMatrix2x4fv); 961e64d31b9Smaya SET_ProgramUniformMatrix3fv(exec, _mesa_ProgramUniformMatrix3fv); 962e64d31b9Smaya SET_ProgramUniformMatrix3x2fv(exec, _mesa_ProgramUniformMatrix3x2fv); 963e64d31b9Smaya SET_ProgramUniformMatrix3x4fv(exec, _mesa_ProgramUniformMatrix3x4fv); 964e64d31b9Smaya SET_ProgramUniformMatrix4fv(exec, _mesa_ProgramUniformMatrix4fv); 965e64d31b9Smaya SET_ProgramUniformMatrix4x2fv(exec, _mesa_ProgramUniformMatrix4x2fv); 966e64d31b9Smaya SET_ProgramUniformMatrix4x3fv(exec, _mesa_ProgramUniformMatrix4x3fv); 967e64d31b9Smaya SET_QueryCounter(exec, _mesa_QueryCounter); 968e64d31b9Smaya SET_ReleaseShaderCompiler(exec, _mesa_ReleaseShaderCompiler); 969e64d31b9Smaya SET_RenderbufferStorageMultisample(exec, _mesa_RenderbufferStorageMultisample); 970e64d31b9Smaya SET_SelectPerfMonitorCountersAMD(exec, _mesa_SelectPerfMonitorCountersAMD); 971e64d31b9Smaya SET_ShaderBinary(exec, _mesa_ShaderBinary); 972e64d31b9Smaya SET_Uniform1f(exec, _mesa_Uniform1f); 973e64d31b9Smaya SET_Uniform1fv(exec, _mesa_Uniform1fv); 974e64d31b9Smaya SET_Uniform1i(exec, _mesa_Uniform1i); 975e64d31b9Smaya SET_Uniform1iv(exec, _mesa_Uniform1iv); 976e64d31b9Smaya SET_Uniform2f(exec, _mesa_Uniform2f); 977e64d31b9Smaya SET_Uniform2fv(exec, _mesa_Uniform2fv); 978e64d31b9Smaya SET_Uniform2i(exec, _mesa_Uniform2i); 979e64d31b9Smaya SET_Uniform2iv(exec, _mesa_Uniform2iv); 980e64d31b9Smaya SET_Uniform3f(exec, _mesa_Uniform3f); 981e64d31b9Smaya SET_Uniform3fv(exec, _mesa_Uniform3fv); 982e64d31b9Smaya SET_Uniform3i(exec, _mesa_Uniform3i); 983e64d31b9Smaya SET_Uniform3iv(exec, _mesa_Uniform3iv); 984e64d31b9Smaya SET_Uniform4f(exec, _mesa_Uniform4f); 985e64d31b9Smaya SET_Uniform4fv(exec, _mesa_Uniform4fv); 986e64d31b9Smaya SET_Uniform4i(exec, _mesa_Uniform4i); 987e64d31b9Smaya SET_Uniform4iv(exec, _mesa_Uniform4iv); 988e64d31b9Smaya SET_UniformMatrix2fv(exec, _mesa_UniformMatrix2fv); 989e64d31b9Smaya SET_UniformMatrix3fv(exec, _mesa_UniformMatrix3fv); 990e64d31b9Smaya SET_UniformMatrix4fv(exec, _mesa_UniformMatrix4fv); 991e64d31b9Smaya SET_ValidateProgram(exec, _mesa_ValidateProgram); 992e64d31b9Smaya SET_ValidateProgramPipeline(exec, _mesa_ValidateProgramPipeline); 993e64d31b9Smaya } 994e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 30))) { 995e64d31b9Smaya SET_BeginTransformFeedback(exec, _mesa_BeginTransformFeedback_no_error); 996e64d31b9Smaya SET_BindBufferRange(exec, _mesa_BindBufferRange_no_error); 997e64d31b9Smaya SET_BindFragDataLocation(exec, _mesa_BindFragDataLocation_no_error); 998e64d31b9Smaya SET_BindFragDataLocationIndexed(exec, _mesa_BindFragDataLocationIndexed_no_error); 999e64d31b9Smaya SET_BindSampler(exec, _mesa_BindSampler_no_error); 1000e64d31b9Smaya SET_BindTransformFeedback(exec, _mesa_BindTransformFeedback_no_error); 1001e64d31b9Smaya SET_BlendEquationSeparateiARB(exec, _mesa_BlendEquationSeparateiARB_no_error); 1002e64d31b9Smaya SET_BlendEquationiARB(exec, _mesa_BlendEquationiARB_no_error); 1003e64d31b9Smaya SET_BlendFuncSeparateiARB(exec, _mesa_BlendFuncSeparateiARB_no_error); 1004e64d31b9Smaya SET_BlendFunciARB(exec, _mesa_BlendFunciARB_no_error); 1005e64d31b9Smaya SET_BlitFramebuffer(exec, _mesa_BlitFramebuffer_no_error); 1006e64d31b9Smaya SET_ClearBufferfi(exec, _mesa_ClearBufferfi_no_error); 1007e64d31b9Smaya SET_ClearBufferfv(exec, _mesa_ClearBufferfv_no_error); 1008e64d31b9Smaya SET_ClearBufferiv(exec, _mesa_ClearBufferiv_no_error); 1009e64d31b9Smaya SET_ClearBufferuiv(exec, _mesa_ClearBufferuiv_no_error); 1010e64d31b9Smaya SET_ClientWaitSync(exec, _mesa_ClientWaitSync_no_error); 1011e64d31b9Smaya SET_CopyBufferSubData(exec, _mesa_CopyBufferSubData_no_error); 1012e64d31b9Smaya SET_CopyImageSubData(exec, _mesa_CopyImageSubData_no_error); 1013e64d31b9Smaya SET_DeleteSamplers(exec, _mesa_DeleteSamplers_no_error); 1014e64d31b9Smaya SET_DeleteSync(exec, _mesa_DeleteSync_no_error); 1015e64d31b9Smaya SET_EndTransformFeedback(exec, _mesa_EndTransformFeedback_no_error); 1016e64d31b9Smaya SET_FenceSync(exec, _mesa_FenceSync_no_error); 1017e64d31b9Smaya SET_FramebufferTextureLayer(exec, _mesa_FramebufferTextureLayer_no_error); 1018e64d31b9Smaya SET_GenSamplers(exec, _mesa_GenSamplers_no_error); 1019e64d31b9Smaya SET_InvalidateFramebuffer(exec, _mesa_InvalidateFramebuffer_no_error); 1020e64d31b9Smaya SET_InvalidateSubFramebuffer(exec, _mesa_InvalidateSubFramebuffer_no_error); 1021e64d31b9Smaya SET_MinSampleShading(exec, _mesa_MinSampleShading_no_error); 1022e64d31b9Smaya SET_PauseTransformFeedback(exec, _mesa_PauseTransformFeedback_no_error); 1023e64d31b9Smaya SET_ResumeTransformFeedback(exec, _mesa_ResumeTransformFeedback_no_error); 1024e64d31b9Smaya SET_TexStorage2D(exec, _mesa_TexStorage2D_no_error); 1025e64d31b9Smaya SET_TexStorage3D(exec, _mesa_TexStorage3D_no_error); 1026e64d31b9Smaya SET_TransformFeedbackVaryings(exec, _mesa_TransformFeedbackVaryings_no_error); 1027e64d31b9Smaya SET_UniformBlockBinding(exec, _mesa_UniformBlockBinding_no_error); 1028e64d31b9Smaya SET_VertexAttribDivisor(exec, _mesa_VertexAttribDivisor_no_error); 1029e64d31b9Smaya SET_VertexAttribIPointer(exec, _mesa_VertexAttribIPointer_no_error); 1030e64d31b9Smaya SET_WaitSync(exec, _mesa_WaitSync_no_error); 1031e64d31b9Smaya } 1032e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 31))) { 1033e64d31b9Smaya SET_BindImageTexture(exec, _mesa_BindImageTexture_no_error); 1034e64d31b9Smaya SET_BindVertexBuffer(exec, _mesa_BindVertexBuffer_no_error); 1035e64d31b9Smaya SET_BufferStorage(exec, _mesa_BufferStorage_no_error); 1036e64d31b9Smaya SET_DispatchCompute(exec, _mesa_DispatchCompute_no_error); 1037e64d31b9Smaya SET_DispatchComputeIndirect(exec, _mesa_DispatchComputeIndirect_no_error); 1038e64d31b9Smaya SET_FramebufferSampleLocationsfvARB(exec, _mesa_FramebufferSampleLocationsfvARB_no_error); 1039e64d31b9Smaya SET_MemoryBarrierByRegion(exec, _mesa_MemoryBarrierByRegion_no_error); 1040e64d31b9Smaya SET_NamedFramebufferSampleLocationsfvARB(exec, _mesa_NamedFramebufferSampleLocationsfvARB_no_error); 1041e64d31b9Smaya SET_PatchParameteri(exec, _mesa_PatchParameteri_no_error); 1042e64d31b9Smaya SET_SampleMaski(exec, _mesa_SampleMaski_no_error); 1043e64d31b9Smaya SET_TextureView(exec, _mesa_TextureView_no_error); 1044e64d31b9Smaya SET_VertexAttribBinding(exec, _mesa_VertexAttribBinding_no_error); 1045e64d31b9Smaya SET_VertexBindingDivisor(exec, _mesa_VertexBindingDivisor_no_error); 104696c5ddc4Srjs SET_ViewportSwizzleNV(exec, _mesa_ViewportSwizzleNV_no_error); 1047e64d31b9Smaya } 1048e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || (ctx->API == API_OPENGLES2 && ctx->Version >= 32))) { 1049e64d31b9Smaya SET_BufferStorageMemEXT(exec, _mesa_BufferStorageMemEXT_no_error); 1050e64d31b9Smaya SET_NamedBufferStorageMemEXT(exec, _mesa_NamedBufferStorageMemEXT_no_error); 1051e64d31b9Smaya } 1052e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2)) { 1053e64d31b9Smaya SET_ActiveTexture(exec, _mesa_ActiveTexture_no_error); 1054e64d31b9Smaya SET_BindBuffer(exec, _mesa_BindBuffer_no_error); 1055e64d31b9Smaya SET_BindTexture(exec, _mesa_BindTexture_no_error); 1056e64d31b9Smaya SET_BlendEquationSeparate(exec, _mesa_BlendEquationSeparate_no_error); 1057e64d31b9Smaya SET_BlendFunc(exec, _mesa_BlendFunc_no_error); 1058e64d31b9Smaya SET_BlendFuncSeparate(exec, _mesa_BlendFuncSeparate_no_error); 1059e64d31b9Smaya SET_BufferData(exec, _mesa_BufferData_no_error); 1060e64d31b9Smaya SET_BufferSubData(exec, _mesa_BufferSubData_no_error); 1061e64d31b9Smaya SET_CheckFramebufferStatus(exec, _mesa_CheckFramebufferStatus_no_error); 1062e64d31b9Smaya SET_Clear(exec, _mesa_Clear_no_error); 1063e64d31b9Smaya SET_CompressedTexImage2D(exec, _mesa_CompressedTexImage2D_no_error); 1064e64d31b9Smaya SET_CompressedTexSubImage2D(exec, _mesa_CompressedTexSubImage2D_no_error); 1065e64d31b9Smaya SET_ConservativeRasterParameterfNV(exec, _mesa_ConservativeRasterParameterfNV_no_error); 1066e64d31b9Smaya SET_ConservativeRasterParameteriNV(exec, _mesa_ConservativeRasterParameteriNV_no_error); 1067e64d31b9Smaya SET_CopyTexImage2D(exec, _mesa_CopyTexImage2D_no_error); 1068e64d31b9Smaya SET_CopyTexSubImage2D(exec, _mesa_CopyTexSubImage2D_no_error); 1069e64d31b9Smaya SET_CullFace(exec, _mesa_CullFace_no_error); 1070e64d31b9Smaya SET_DeleteBuffers(exec, _mesa_DeleteBuffers_no_error); 1071e64d31b9Smaya SET_DeleteTextures(exec, _mesa_DeleteTextures_no_error); 1072e64d31b9Smaya SET_DepthFunc(exec, _mesa_DepthFunc_no_error); 1073e64d31b9Smaya SET_FlushMappedBufferRange(exec, _mesa_FlushMappedBufferRange_no_error); 1074e64d31b9Smaya SET_FramebufferRenderbuffer(exec, _mesa_FramebufferRenderbuffer_no_error); 1075e64d31b9Smaya SET_FramebufferTexture2D(exec, _mesa_FramebufferTexture2D_no_error); 1076e64d31b9Smaya SET_FrontFace(exec, _mesa_FrontFace_no_error); 1077e64d31b9Smaya SET_GenBuffers(exec, _mesa_GenBuffers_no_error); 1078e64d31b9Smaya SET_GenRenderbuffers(exec, _mesa_GenRenderbuffers_no_error); 1079e64d31b9Smaya SET_GenTextures(exec, _mesa_GenTextures_no_error); 1080e64d31b9Smaya SET_GenerateMipmap(exec, _mesa_GenerateMipmap_no_error); 1081e64d31b9Smaya SET_LineWidth(exec, _mesa_LineWidth_no_error); 1082e64d31b9Smaya SET_MapBuffer(exec, _mesa_MapBuffer_no_error); 1083e64d31b9Smaya SET_MapBufferRange(exec, _mesa_MapBufferRange_no_error); 1084e64d31b9Smaya SET_PixelStorei(exec, _mesa_PixelStorei_no_error); 1085e64d31b9Smaya SET_ReadPixels(exec, _mesa_ReadPixels_no_error); 1086e64d31b9Smaya SET_Scissor(exec, _mesa_Scissor_no_error); 1087e64d31b9Smaya SET_StencilFunc(exec, _mesa_StencilFunc_no_error); 1088e64d31b9Smaya SET_StencilOp(exec, _mesa_StencilOp_no_error); 1089e64d31b9Smaya SET_SubpixelPrecisionBiasNV(exec, _mesa_SubpixelPrecisionBiasNV_no_error); 1090e64d31b9Smaya SET_TexImage2D(exec, _mesa_TexImage2D_no_error); 1091e64d31b9Smaya SET_TexSubImage2D(exec, _mesa_TexSubImage2D_no_error); 1092e64d31b9Smaya SET_UnmapBuffer(exec, _mesa_UnmapBuffer_no_error); 1093e64d31b9Smaya SET_Viewport(exec, _mesa_Viewport_no_error); 1094e64d31b9Smaya } 1095e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES)) { 1096e64d31b9Smaya SET_LogicOp(exec, _mesa_LogicOp_no_error); 1097e64d31b9Smaya SET_PointSize(exec, _mesa_PointSize_no_error); 1098e64d31b9Smaya } 1099e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2)) { 1100e64d31b9Smaya SET_ActiveShaderProgram(exec, _mesa_ActiveShaderProgram_no_error); 1101e64d31b9Smaya SET_AttachShader(exec, _mesa_AttachShader_no_error); 1102e64d31b9Smaya SET_BeginConditionalRender(exec, _mesa_BeginConditionalRender_no_error); 1103e64d31b9Smaya SET_BindAttribLocation(exec, _mesa_BindAttribLocation_no_error); 1104e64d31b9Smaya SET_BindProgramPipeline(exec, _mesa_BindProgramPipeline_no_error); 1105e64d31b9Smaya SET_BindVertexArray(exec, _mesa_BindVertexArray_no_error); 110696c5ddc4Srjs SET_ClipControl(exec, _mesa_ClipControl_no_error); 1107e64d31b9Smaya SET_CompressedTexImage3D(exec, _mesa_CompressedTexImage3D_no_error); 1108e64d31b9Smaya SET_CompressedTexSubImage3D(exec, _mesa_CompressedTexSubImage3D_no_error); 1109e64d31b9Smaya SET_CopyTexSubImage3D(exec, _mesa_CopyTexSubImage3D_no_error); 1110e64d31b9Smaya SET_CreateShader(exec, _mesa_CreateShader_no_error); 1111e64d31b9Smaya SET_DeleteVertexArrays(exec, _mesa_DeleteVertexArrays_no_error); 1112e64d31b9Smaya SET_DetachShader(exec, _mesa_DetachShader_no_error); 1113e64d31b9Smaya SET_DisableVertexAttribArray(exec, _mesa_DisableVertexAttribArray_no_error); 1114e64d31b9Smaya SET_DrawBuffers(exec, _mesa_DrawBuffers_no_error); 1115e64d31b9Smaya SET_EnableVertexAttribArray(exec, _mesa_EnableVertexAttribArray_no_error); 1116e64d31b9Smaya SET_EndConditionalRender(exec, _mesa_EndConditionalRender_no_error); 1117e64d31b9Smaya SET_FramebufferTexture3D(exec, _mesa_FramebufferTexture3D_no_error); 1118e64d31b9Smaya SET_GenProgramPipelines(exec, _mesa_GenProgramPipelines_no_error); 1119e64d31b9Smaya SET_GenVertexArrays(exec, _mesa_GenVertexArrays_no_error); 1120e64d31b9Smaya SET_GetUniformLocation(exec, _mesa_GetUniformLocation_no_error); 1121e64d31b9Smaya SET_LinkProgram(exec, _mesa_LinkProgram_no_error); 1122e64d31b9Smaya SET_ProgramParameteri(exec, _mesa_ProgramParameteri_no_error); 1123e64d31b9Smaya SET_ReadBuffer(exec, _mesa_ReadBuffer_no_error); 1124e64d31b9Smaya SET_ReadnPixelsARB(exec, _mesa_ReadnPixelsARB_no_error); 1125e64d31b9Smaya SET_ShaderSource(exec, _mesa_ShaderSource_no_error); 1126e64d31b9Smaya SET_StencilFuncSeparate(exec, _mesa_StencilFuncSeparate_no_error); 1127e64d31b9Smaya SET_StencilMaskSeparate(exec, _mesa_StencilMaskSeparate_no_error); 1128e64d31b9Smaya SET_StencilOpSeparate(exec, _mesa_StencilOpSeparate_no_error); 1129e64d31b9Smaya SET_TexImage3D(exec, _mesa_TexImage3D_no_error); 1130e64d31b9Smaya SET_TexSubImage3D(exec, _mesa_TexSubImage3D_no_error); 1131e64d31b9Smaya SET_UseProgram(exec, _mesa_UseProgram_no_error); 1132e64d31b9Smaya SET_UseProgramStages(exec, _mesa_UseProgramStages_no_error); 1133e64d31b9Smaya SET_VertexAttribPointer(exec, _mesa_VertexAttribPointer_no_error); 1134e64d31b9Smaya } 1135e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (_mesa_is_desktop_gl(ctx))) { 1136e64d31b9Smaya SET_AttachObjectARB(exec, _mesa_AttachObjectARB_no_error); 1137e64d31b9Smaya SET_BindBufferOffsetEXT(exec, _mesa_BindBufferOffsetEXT_no_error); 1138e64d31b9Smaya SET_BindImageTextures(exec, _mesa_BindImageTextures_no_error); 1139e64d31b9Smaya SET_BindSamplers(exec, _mesa_BindSamplers_no_error); 1140e64d31b9Smaya SET_BindTextures(exec, _mesa_BindTextures_no_error); 1141e64d31b9Smaya SET_BindVertexBuffers(exec, _mesa_BindVertexBuffers_no_error); 1142e64d31b9Smaya SET_ClearBufferData(exec, _mesa_ClearBufferData_no_error); 1143e64d31b9Smaya SET_ClearBufferSubData(exec, _mesa_ClearBufferSubData_no_error); 1144e64d31b9Smaya SET_CompressedTexImage1D(exec, _mesa_CompressedTexImage1D_no_error); 1145e64d31b9Smaya SET_CompressedTexSubImage1D(exec, _mesa_CompressedTexSubImage1D_no_error); 1146e64d31b9Smaya SET_CopyTexImage1D(exec, _mesa_CopyTexImage1D_no_error); 1147e64d31b9Smaya SET_CopyTexSubImage1D(exec, _mesa_CopyTexSubImage1D_no_error); 1148e64d31b9Smaya SET_CreateShaderObjectARB(exec, _mesa_CreateShaderObjectARB_no_error); 1149e64d31b9Smaya SET_DetachObjectARB(exec, _mesa_DetachObjectARB_no_error); 1150e64d31b9Smaya SET_DispatchComputeGroupSizeARB(exec, _mesa_DispatchComputeGroupSizeARB_no_error); 1151e64d31b9Smaya SET_DrawBuffer(exec, _mesa_DrawBuffer_no_error); 1152e64d31b9Smaya SET_FramebufferTexture1D(exec, _mesa_FramebufferTexture1D_no_error); 1153e64d31b9Smaya SET_GetImageHandleARB(exec, _mesa_GetImageHandleARB_no_error); 1154e64d31b9Smaya SET_GetTextureHandleARB(exec, _mesa_GetTextureHandleARB_no_error); 1155e64d31b9Smaya SET_GetTextureSamplerHandleARB(exec, _mesa_GetTextureSamplerHandleARB_no_error); 1156e64d31b9Smaya SET_InvalidateBufferData(exec, _mesa_InvalidateBufferData_no_error); 1157e64d31b9Smaya SET_InvalidateBufferSubData(exec, _mesa_InvalidateBufferSubData_no_error); 1158e64d31b9Smaya SET_InvalidateTexImage(exec, _mesa_InvalidateTexImage_no_error); 1159e64d31b9Smaya SET_InvalidateTexSubImage(exec, _mesa_InvalidateTexSubImage_no_error); 1160e64d31b9Smaya SET_IsImageHandleResidentARB(exec, _mesa_IsImageHandleResidentARB_no_error); 1161e64d31b9Smaya SET_IsTextureHandleResidentARB(exec, _mesa_IsTextureHandleResidentARB_no_error); 1162e64d31b9Smaya SET_MakeImageHandleNonResidentARB(exec, _mesa_MakeImageHandleNonResidentARB_no_error); 1163e64d31b9Smaya SET_MakeImageHandleResidentARB(exec, _mesa_MakeImageHandleResidentARB_no_error); 1164e64d31b9Smaya SET_MakeTextureHandleNonResidentARB(exec, _mesa_MakeTextureHandleNonResidentARB_no_error); 1165e64d31b9Smaya SET_MakeTextureHandleResidentARB(exec, _mesa_MakeTextureHandleResidentARB_no_error); 1166e64d31b9Smaya SET_PixelStoref(exec, _mesa_PixelStoref_no_error); 1167e64d31b9Smaya SET_PolygonMode(exec, _mesa_PolygonMode_no_error); 1168e64d31b9Smaya SET_PrimitiveRestartIndex(exec, _mesa_PrimitiveRestartIndex_no_error); 1169e64d31b9Smaya SET_ShaderStorageBlockBinding(exec, _mesa_ShaderStorageBlockBinding_no_error); 1170e64d31b9Smaya SET_TexImage1D(exec, _mesa_TexImage1D_no_error); 1171e64d31b9Smaya SET_TexStorage1D(exec, _mesa_TexStorage1D_no_error); 1172e64d31b9Smaya SET_TexSubImage1D(exec, _mesa_TexSubImage1D_no_error); 117396c5ddc4Srjs SET_UnmapNamedBufferEXT(exec, _mesa_UnmapNamedBufferEXT_no_error); 1174e64d31b9Smaya } 1175e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGLES)) { 1176e64d31b9Smaya SET_PointSizePointerOES(exec, _mesa_PointSizePointerOES_no_error); 1177e64d31b9Smaya } 1178e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGLES)) { 1179e64d31b9Smaya SET_ColorPointer(exec, _mesa_ColorPointer_no_error); 1180e64d31b9Smaya SET_NormalPointer(exec, _mesa_NormalPointer_no_error); 1181e64d31b9Smaya SET_TexCoordPointer(exec, _mesa_TexCoordPointer_no_error); 1182e64d31b9Smaya SET_VertexPointer(exec, _mesa_VertexPointer_no_error); 1183e64d31b9Smaya } 1184e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGL_CORE || (ctx->API == API_OPENGLES2 && ctx->Version >= 31))) { 1185e64d31b9Smaya SET_FramebufferTexture(exec, _mesa_FramebufferTexture_no_error); 1186e64d31b9Smaya SET_ScissorArrayv(exec, _mesa_ScissorArrayv_no_error); 1187e64d31b9Smaya SET_ScissorIndexed(exec, _mesa_ScissorIndexed_no_error); 1188e64d31b9Smaya SET_ScissorIndexedv(exec, _mesa_ScissorIndexedv_no_error); 1189e64d31b9Smaya SET_ViewportArrayv(exec, _mesa_ViewportArrayv_no_error); 1190e64d31b9Smaya SET_ViewportIndexedf(exec, _mesa_ViewportIndexedf_no_error); 1191e64d31b9Smaya SET_ViewportIndexedfv(exec, _mesa_ViewportIndexedfv_no_error); 1192e64d31b9Smaya } 1193e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGL_CORE)) { 1194e64d31b9Smaya SET_BindTextureUnit(exec, _mesa_BindTextureUnit_no_error); 1195e64d31b9Smaya SET_BlitNamedFramebuffer(exec, _mesa_BlitNamedFramebuffer_no_error); 1196e64d31b9Smaya SET_ClearNamedBufferData(exec, _mesa_ClearNamedBufferData_no_error); 1197e64d31b9Smaya SET_ClearNamedBufferSubData(exec, _mesa_ClearNamedBufferSubData_no_error); 1198e64d31b9Smaya SET_CompressedTextureSubImage1D(exec, _mesa_CompressedTextureSubImage1D_no_error); 1199e64d31b9Smaya SET_CompressedTextureSubImage2D(exec, _mesa_CompressedTextureSubImage2D_no_error); 1200e64d31b9Smaya SET_CompressedTextureSubImage3D(exec, _mesa_CompressedTextureSubImage3D_no_error); 1201e64d31b9Smaya SET_CopyNamedBufferSubData(exec, _mesa_CopyNamedBufferSubData_no_error); 1202e64d31b9Smaya SET_CopyTextureSubImage1D(exec, _mesa_CopyTextureSubImage1D_no_error); 1203e64d31b9Smaya SET_CopyTextureSubImage2D(exec, _mesa_CopyTextureSubImage2D_no_error); 1204e64d31b9Smaya SET_CopyTextureSubImage3D(exec, _mesa_CopyTextureSubImage3D_no_error); 1205e64d31b9Smaya SET_CreateBuffers(exec, _mesa_CreateBuffers_no_error); 1206e64d31b9Smaya SET_CreateProgramPipelines(exec, _mesa_CreateProgramPipelines_no_error); 1207e64d31b9Smaya SET_CreateRenderbuffers(exec, _mesa_CreateRenderbuffers_no_error); 1208e64d31b9Smaya SET_CreateSamplers(exec, _mesa_CreateSamplers_no_error); 1209e64d31b9Smaya SET_CreateTextures(exec, _mesa_CreateTextures_no_error); 1210e64d31b9Smaya SET_CreateVertexArrays(exec, _mesa_CreateVertexArrays_no_error); 1211e64d31b9Smaya SET_DepthRangeArrayv(exec, _mesa_DepthRangeArrayv_no_error); 1212e64d31b9Smaya SET_DepthRangeIndexed(exec, _mesa_DepthRangeIndexed_no_error); 1213e64d31b9Smaya SET_DisableVertexArrayAttrib(exec, _mesa_DisableVertexArrayAttrib_no_error); 1214e64d31b9Smaya SET_EnableVertexArrayAttrib(exec, _mesa_EnableVertexArrayAttrib_no_error); 1215e64d31b9Smaya SET_FlushMappedNamedBufferRange(exec, _mesa_FlushMappedNamedBufferRange_no_error); 1216e64d31b9Smaya SET_GenerateTextureMipmap(exec, _mesa_GenerateTextureMipmap_no_error); 1217e64d31b9Smaya SET_MapNamedBuffer(exec, _mesa_MapNamedBuffer_no_error); 1218e64d31b9Smaya SET_MapNamedBufferRange(exec, _mesa_MapNamedBufferRange_no_error); 1219e64d31b9Smaya SET_NamedBufferData(exec, _mesa_NamedBufferData_no_error); 1220e64d31b9Smaya SET_NamedBufferStorage(exec, _mesa_NamedBufferStorage_no_error); 1221e64d31b9Smaya SET_NamedBufferSubData(exec, _mesa_NamedBufferSubData_no_error); 1222e64d31b9Smaya SET_NamedFramebufferDrawBuffer(exec, _mesa_NamedFramebufferDrawBuffer_no_error); 1223e64d31b9Smaya SET_NamedFramebufferDrawBuffers(exec, _mesa_NamedFramebufferDrawBuffers_no_error); 1224e64d31b9Smaya SET_NamedFramebufferReadBuffer(exec, _mesa_NamedFramebufferReadBuffer_no_error); 1225e64d31b9Smaya SET_NamedFramebufferRenderbuffer(exec, _mesa_NamedFramebufferRenderbuffer_no_error); 1226e64d31b9Smaya SET_NamedFramebufferTexture(exec, _mesa_NamedFramebufferTexture_no_error); 1227e64d31b9Smaya SET_NamedFramebufferTextureLayer(exec, _mesa_NamedFramebufferTextureLayer_no_error); 1228e64d31b9Smaya SET_TextureStorage1D(exec, _mesa_TextureStorage1D_no_error); 1229e64d31b9Smaya SET_TextureStorage2D(exec, _mesa_TextureStorage2D_no_error); 1230e64d31b9Smaya SET_TextureStorage3D(exec, _mesa_TextureStorage3D_no_error); 1231e64d31b9Smaya SET_TextureSubImage1D(exec, _mesa_TextureSubImage1D_no_error); 1232e64d31b9Smaya SET_TextureSubImage2D(exec, _mesa_TextureSubImage2D_no_error); 1233e64d31b9Smaya SET_TextureSubImage3D(exec, _mesa_TextureSubImage3D_no_error); 1234e64d31b9Smaya SET_VertexArrayAttribBinding(exec, _mesa_VertexArrayAttribBinding_no_error); 1235e64d31b9Smaya SET_VertexArrayBindingDivisor(exec, _mesa_VertexArrayBindingDivisor_no_error); 1236e64d31b9Smaya SET_VertexArrayElementBuffer(exec, _mesa_VertexArrayElementBuffer_no_error); 1237e64d31b9Smaya SET_VertexArrayVertexBuffer(exec, _mesa_VertexArrayVertexBuffer_no_error); 1238e64d31b9Smaya SET_VertexArrayVertexBuffers(exec, _mesa_VertexArrayVertexBuffers_no_error); 1239e64d31b9Smaya SET_VertexAttribLPointer(exec, _mesa_VertexAttribLPointer_no_error); 1240e64d31b9Smaya } 1241e64d31b9Smaya if (_mesa_is_no_error_enabled(ctx) && (ctx->API == API_OPENGL_COMPAT)) { 1242e64d31b9Smaya SET_EdgeFlagPointer(exec, _mesa_EdgeFlagPointer_no_error); 1243e64d31b9Smaya SET_FogCoordPointer(exec, _mesa_FogCoordPointer_no_error); 1244e64d31b9Smaya SET_IndexPointer(exec, _mesa_IndexPointer_no_error); 1245e64d31b9Smaya SET_SecondaryColorPointer(exec, _mesa_SecondaryColorPointer_no_error); 1246e64d31b9Smaya } 1247e64d31b9Smaya if (ctx->API == API_OPENGLES) { 1248e64d31b9Smaya SET_AlphaFuncx(exec, _mesa_AlphaFuncx); 1249e64d31b9Smaya SET_ClearColorx(exec, _mesa_ClearColorx); 1250e64d31b9Smaya SET_ClearDepthx(exec, _mesa_ClearDepthx); 1251e64d31b9Smaya SET_ClipPlanef(exec, _mesa_ClipPlanef); 1252e64d31b9Smaya SET_ClipPlanex(exec, _mesa_ClipPlanex); 1253e64d31b9Smaya SET_Color4x(exec, _mesa_Color4x); 1254e64d31b9Smaya SET_DepthRangex(exec, _mesa_DepthRangex); 1255e64d31b9Smaya SET_DrawTexfOES(exec, _mesa_DrawTexfOES); 1256e64d31b9Smaya SET_DrawTexfvOES(exec, _mesa_DrawTexfvOES); 1257e64d31b9Smaya SET_DrawTexiOES(exec, _mesa_DrawTexiOES); 1258e64d31b9Smaya SET_DrawTexivOES(exec, _mesa_DrawTexivOES); 1259e64d31b9Smaya SET_DrawTexsOES(exec, _mesa_DrawTexsOES); 1260e64d31b9Smaya SET_DrawTexsvOES(exec, _mesa_DrawTexsvOES); 1261e64d31b9Smaya SET_DrawTexxOES(exec, _mesa_DrawTexxOES); 1262e64d31b9Smaya SET_DrawTexxvOES(exec, _mesa_DrawTexxvOES); 1263e64d31b9Smaya SET_Fogx(exec, _mesa_Fogx); 1264e64d31b9Smaya SET_Fogxv(exec, _mesa_Fogxv); 1265e64d31b9Smaya SET_Frustumf(exec, _mesa_Frustumf); 1266e64d31b9Smaya SET_Frustumx(exec, _mesa_Frustumx); 1267e64d31b9Smaya SET_GetClipPlanef(exec, _mesa_GetClipPlanef); 1268e64d31b9Smaya SET_GetClipPlanex(exec, _mesa_GetClipPlanex); 1269e64d31b9Smaya SET_GetFixedv(exec, _mesa_GetFixedv); 1270e64d31b9Smaya SET_GetLightxv(exec, _mesa_GetLightxv); 1271e64d31b9Smaya SET_GetMaterialxv(exec, _mesa_GetMaterialxv); 1272e64d31b9Smaya SET_GetTexEnvxv(exec, _mesa_GetTexEnvxv); 1273e64d31b9Smaya SET_GetTexGenxvOES(exec, _mesa_GetTexGenxvOES); 1274e64d31b9Smaya SET_GetTexParameterxv(exec, _mesa_GetTexParameterxv); 1275e64d31b9Smaya SET_LightModelx(exec, _mesa_LightModelx); 1276e64d31b9Smaya SET_LightModelxv(exec, _mesa_LightModelxv); 1277e64d31b9Smaya SET_Lightx(exec, _mesa_Lightx); 1278e64d31b9Smaya SET_Lightxv(exec, _mesa_Lightxv); 1279e64d31b9Smaya SET_LineWidthx(exec, _mesa_LineWidthx); 1280e64d31b9Smaya SET_LoadMatrixx(exec, _mesa_LoadMatrixx); 1281e64d31b9Smaya SET_Materialx(exec, _mesa_Materialx); 1282e64d31b9Smaya SET_Materialxv(exec, _mesa_Materialxv); 1283e64d31b9Smaya SET_MultMatrixx(exec, _mesa_MultMatrixx); 1284e64d31b9Smaya SET_MultiTexCoord4x(exec, _mesa_MultiTexCoord4x); 1285e64d31b9Smaya SET_Normal3x(exec, _mesa_Normal3x); 1286e64d31b9Smaya SET_Orthof(exec, _mesa_Orthof); 1287e64d31b9Smaya SET_Orthox(exec, _mesa_Orthox); 1288e64d31b9Smaya SET_PointParameterx(exec, _mesa_PointParameterx); 1289e64d31b9Smaya SET_PointParameterxv(exec, _mesa_PointParameterxv); 1290e64d31b9Smaya SET_PointSizex(exec, _mesa_PointSizex); 1291e64d31b9Smaya SET_PolygonOffsetx(exec, _mesa_PolygonOffsetx); 1292e64d31b9Smaya SET_QueryMatrixxOES(exec, _mesa_QueryMatrixxOES); 1293e64d31b9Smaya SET_Rotatex(exec, _mesa_Rotatex); 1294e64d31b9Smaya SET_SampleCoveragex(exec, _mesa_SampleCoveragex); 1295e64d31b9Smaya SET_Scalex(exec, _mesa_Scalex); 1296e64d31b9Smaya SET_TexEnvx(exec, _mesa_TexEnvx); 1297e64d31b9Smaya SET_TexEnvxv(exec, _mesa_TexEnvxv); 1298e64d31b9Smaya SET_TexGenxOES(exec, _mesa_TexGenxOES); 1299e64d31b9Smaya SET_TexGenxvOES(exec, _mesa_TexGenxvOES); 1300e64d31b9Smaya SET_TexParameterx(exec, _mesa_TexParameterx); 1301e64d31b9Smaya SET_TexParameterxv(exec, _mesa_TexParameterxv); 1302e64d31b9Smaya SET_Translatex(exec, _mesa_Translatex); 1303e64d31b9Smaya } 1304e64d31b9Smaya if (ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2) { 1305e64d31b9Smaya SET_DiscardFramebufferEXT(exec, _mesa_DiscardFramebufferEXT); 1306e64d31b9Smaya } 1307e64d31b9Smaya if (ctx->API == API_OPENGLES2) { 1308e64d31b9Smaya SET_FramebufferTexture2DMultisampleEXT(exec, _mesa_FramebufferTexture2DMultisampleEXT); 1309e64d31b9Smaya } 1310e64d31b9Smaya if (ctx->API == API_OPENGL_COMPAT) { 1311e64d31b9Smaya SET_Accum(exec, _mesa_Accum); 1312e64d31b9Smaya SET_ActiveStencilFaceEXT(exec, _mesa_ActiveStencilFaceEXT); 1313e64d31b9Smaya SET_AlphaFragmentOp1ATI(exec, _mesa_AlphaFragmentOp1ATI); 1314e64d31b9Smaya SET_AlphaFragmentOp2ATI(exec, _mesa_AlphaFragmentOp2ATI); 1315e64d31b9Smaya SET_AlphaFragmentOp3ATI(exec, _mesa_AlphaFragmentOp3ATI); 1316e64d31b9Smaya SET_AreTexturesResident(exec, _mesa_AreTexturesResident); 1317e64d31b9Smaya SET_BeginFragmentShaderATI(exec, _mesa_BeginFragmentShaderATI); 1318e64d31b9Smaya SET_BindFragmentShaderATI(exec, _mesa_BindFragmentShaderATI); 1319e64d31b9Smaya SET_BindProgramARB(exec, _mesa_BindProgramARB); 1320e64d31b9Smaya SET_Bitmap(exec, _mesa_Bitmap); 1321e64d31b9Smaya SET_CallList(exec, _mesa_CallList); 1322e64d31b9Smaya SET_CallLists(exec, _mesa_CallLists); 1323e64d31b9Smaya SET_ClearAccum(exec, _mesa_ClearAccum); 1324e64d31b9Smaya SET_ClearIndex(exec, _mesa_ClearIndex); 1325e64d31b9Smaya SET_ClipPlane(exec, _mesa_ClipPlane); 1326e64d31b9Smaya SET_ColorFragmentOp1ATI(exec, _mesa_ColorFragmentOp1ATI); 1327e64d31b9Smaya SET_ColorFragmentOp2ATI(exec, _mesa_ColorFragmentOp2ATI); 1328e64d31b9Smaya SET_ColorFragmentOp3ATI(exec, _mesa_ColorFragmentOp3ATI); 1329e64d31b9Smaya SET_ColorMaterial(exec, _mesa_ColorMaterial); 1330e64d31b9Smaya SET_ColorPointerEXT(exec, _mesa_ColorPointerEXT); 1331e64d31b9Smaya SET_ColorSubTable(exec, _mesa_ColorSubTable); 1332e64d31b9Smaya SET_ColorTable(exec, _mesa_ColorTable); 1333e64d31b9Smaya SET_ColorTableParameterfv(exec, _mesa_ColorTableParameterfv); 1334e64d31b9Smaya SET_ColorTableParameteriv(exec, _mesa_ColorTableParameteriv); 1335e64d31b9Smaya SET_ConvolutionFilter1D(exec, _mesa_ConvolutionFilter1D); 1336e64d31b9Smaya SET_ConvolutionFilter2D(exec, _mesa_ConvolutionFilter2D); 1337e64d31b9Smaya SET_ConvolutionParameterf(exec, _mesa_ConvolutionParameterf); 1338e64d31b9Smaya SET_ConvolutionParameterfv(exec, _mesa_ConvolutionParameterfv); 1339e64d31b9Smaya SET_ConvolutionParameteri(exec, _mesa_ConvolutionParameteri); 1340e64d31b9Smaya SET_ConvolutionParameteriv(exec, _mesa_ConvolutionParameteriv); 1341e64d31b9Smaya SET_CopyColorSubTable(exec, _mesa_CopyColorSubTable); 1342e64d31b9Smaya SET_CopyColorTable(exec, _mesa_CopyColorTable); 1343e64d31b9Smaya SET_CopyConvolutionFilter1D(exec, _mesa_CopyConvolutionFilter1D); 1344e64d31b9Smaya SET_CopyConvolutionFilter2D(exec, _mesa_CopyConvolutionFilter2D); 1345e64d31b9Smaya SET_CopyPixels(exec, _mesa_CopyPixels); 1346e64d31b9Smaya SET_DeleteFragmentShaderATI(exec, _mesa_DeleteFragmentShaderATI); 1347e64d31b9Smaya SET_DeleteLists(exec, _mesa_DeleteLists); 1348e64d31b9Smaya SET_DeleteProgramsARB(exec, _mesa_DeleteProgramsARB); 1349e64d31b9Smaya SET_DrawPixels(exec, _mesa_DrawPixels); 1350e64d31b9Smaya SET_EdgeFlagPointerEXT(exec, _mesa_EdgeFlagPointerEXT); 1351e64d31b9Smaya SET_EndFragmentShaderATI(exec, _mesa_EndFragmentShaderATI); 1352e64d31b9Smaya SET_EndList(exec, _mesa_EndList); 135396c5ddc4Srjs SET_EvalMesh1(exec, _mesa_EvalMesh1); 135496c5ddc4Srjs SET_EvalMesh2(exec, _mesa_EvalMesh2); 1355e64d31b9Smaya SET_FeedbackBuffer(exec, _mesa_FeedbackBuffer); 1356e64d31b9Smaya SET_Fogi(exec, _mesa_Fogi); 1357e64d31b9Smaya SET_Fogiv(exec, _mesa_Fogiv); 1358e64d31b9Smaya SET_Frustum(exec, _mesa_Frustum); 1359e64d31b9Smaya SET_GenFragmentShadersATI(exec, _mesa_GenFragmentShadersATI); 1360e64d31b9Smaya SET_GenLists(exec, _mesa_GenLists); 1361e64d31b9Smaya SET_GenProgramsARB(exec, _mesa_GenProgramsARB); 1362e64d31b9Smaya SET_GetClipPlane(exec, _mesa_GetClipPlane); 1363e64d31b9Smaya SET_GetColorTable(exec, _mesa_GetColorTable); 1364e64d31b9Smaya SET_GetColorTableParameterfv(exec, _mesa_GetColorTableParameterfv); 1365e64d31b9Smaya SET_GetColorTableParameteriv(exec, _mesa_GetColorTableParameteriv); 1366e64d31b9Smaya SET_GetConvolutionFilter(exec, _mesa_GetConvolutionFilter); 1367e64d31b9Smaya SET_GetConvolutionParameterfv(exec, _mesa_GetConvolutionParameterfv); 1368e64d31b9Smaya SET_GetConvolutionParameteriv(exec, _mesa_GetConvolutionParameteriv); 1369e64d31b9Smaya SET_GetHistogram(exec, _mesa_GetHistogram); 1370e64d31b9Smaya SET_GetHistogramParameterfv(exec, _mesa_GetHistogramParameterfv); 1371e64d31b9Smaya SET_GetHistogramParameteriv(exec, _mesa_GetHistogramParameteriv); 1372e64d31b9Smaya SET_GetLightiv(exec, _mesa_GetLightiv); 1373e64d31b9Smaya SET_GetMapdv(exec, _mesa_GetMapdv); 1374e64d31b9Smaya SET_GetMapfv(exec, _mesa_GetMapfv); 1375e64d31b9Smaya SET_GetMapiv(exec, _mesa_GetMapiv); 1376e64d31b9Smaya SET_GetMaterialiv(exec, _mesa_GetMaterialiv); 1377e64d31b9Smaya SET_GetMinmax(exec, _mesa_GetMinmax); 1378e64d31b9Smaya SET_GetMinmaxParameterfv(exec, _mesa_GetMinmaxParameterfv); 1379e64d31b9Smaya SET_GetMinmaxParameteriv(exec, _mesa_GetMinmaxParameteriv); 1380e64d31b9Smaya SET_GetPixelMapfv(exec, _mesa_GetPixelMapfv); 1381e64d31b9Smaya SET_GetPixelMapuiv(exec, _mesa_GetPixelMapuiv); 1382e64d31b9Smaya SET_GetPixelMapusv(exec, _mesa_GetPixelMapusv); 1383e64d31b9Smaya SET_GetPolygonStipple(exec, _mesa_GetPolygonStipple); 1384e64d31b9Smaya SET_GetProgramEnvParameterdvARB(exec, _mesa_GetProgramEnvParameterdvARB); 1385e64d31b9Smaya SET_GetProgramEnvParameterfvARB(exec, _mesa_GetProgramEnvParameterfvARB); 1386e64d31b9Smaya SET_GetProgramLocalParameterdvARB(exec, _mesa_GetProgramLocalParameterdvARB); 1387e64d31b9Smaya SET_GetProgramLocalParameterfvARB(exec, _mesa_GetProgramLocalParameterfvARB); 1388e64d31b9Smaya SET_GetProgramStringARB(exec, _mesa_GetProgramStringARB); 1389e64d31b9Smaya SET_GetProgramivARB(exec, _mesa_GetProgramivARB); 1390e64d31b9Smaya SET_GetSeparableFilter(exec, _mesa_GetSeparableFilter); 1391e64d31b9Smaya SET_GetTexGendv(exec, _mesa_GetTexGendv); 1392e64d31b9Smaya SET_GetnColorTableARB(exec, _mesa_GetnColorTableARB); 1393e64d31b9Smaya SET_GetnConvolutionFilterARB(exec, _mesa_GetnConvolutionFilterARB); 1394e64d31b9Smaya SET_GetnHistogramARB(exec, _mesa_GetnHistogramARB); 1395e64d31b9Smaya SET_GetnMapdvARB(exec, _mesa_GetnMapdvARB); 1396e64d31b9Smaya SET_GetnMapfvARB(exec, _mesa_GetnMapfvARB); 1397e64d31b9Smaya SET_GetnMapivARB(exec, _mesa_GetnMapivARB); 1398e64d31b9Smaya SET_GetnMinmaxARB(exec, _mesa_GetnMinmaxARB); 1399e64d31b9Smaya SET_GetnPixelMapfvARB(exec, _mesa_GetnPixelMapfvARB); 1400e64d31b9Smaya SET_GetnPixelMapuivARB(exec, _mesa_GetnPixelMapuivARB); 1401e64d31b9Smaya SET_GetnPixelMapusvARB(exec, _mesa_GetnPixelMapusvARB); 1402e64d31b9Smaya SET_GetnSeparableFilterARB(exec, _mesa_GetnSeparableFilterARB); 1403e64d31b9Smaya SET_Histogram(exec, _mesa_Histogram); 1404e64d31b9Smaya SET_IndexMask(exec, _mesa_IndexMask); 1405e64d31b9Smaya SET_IndexPointerEXT(exec, _mesa_IndexPointerEXT); 1406e64d31b9Smaya SET_InitNames(exec, _mesa_InitNames); 1407e64d31b9Smaya SET_InterleavedArrays(exec, _mesa_InterleavedArrays); 1408e64d31b9Smaya SET_IsList(exec, _mesa_IsList); 1409e64d31b9Smaya SET_IsProgramARB(exec, _mesa_IsProgramARB); 1410e64d31b9Smaya SET_LightModeli(exec, _mesa_LightModeli); 1411e64d31b9Smaya SET_LightModeliv(exec, _mesa_LightModeliv); 1412e64d31b9Smaya SET_Lighti(exec, _mesa_Lighti); 1413e64d31b9Smaya SET_Lightiv(exec, _mesa_Lightiv); 1414e64d31b9Smaya SET_LineStipple(exec, _mesa_LineStipple); 1415e64d31b9Smaya SET_ListBase(exec, _mesa_ListBase); 1416e64d31b9Smaya SET_LoadMatrixd(exec, _mesa_LoadMatrixd); 1417e64d31b9Smaya SET_LoadName(exec, _mesa_LoadName); 1418e64d31b9Smaya SET_LoadTransposeMatrixd(exec, _mesa_LoadTransposeMatrixd); 1419e64d31b9Smaya SET_LoadTransposeMatrixf(exec, _mesa_LoadTransposeMatrixf); 1420e64d31b9Smaya SET_LockArraysEXT(exec, _mesa_LockArraysEXT); 1421e64d31b9Smaya SET_Map1d(exec, _mesa_Map1d); 1422e64d31b9Smaya SET_Map1f(exec, _mesa_Map1f); 1423e64d31b9Smaya SET_Map2d(exec, _mesa_Map2d); 1424e64d31b9Smaya SET_Map2f(exec, _mesa_Map2f); 1425e64d31b9Smaya SET_MapGrid1d(exec, _mesa_MapGrid1d); 1426e64d31b9Smaya SET_MapGrid1f(exec, _mesa_MapGrid1f); 1427e64d31b9Smaya SET_MapGrid2d(exec, _mesa_MapGrid2d); 1428e64d31b9Smaya SET_MapGrid2f(exec, _mesa_MapGrid2f); 1429e64d31b9Smaya SET_Minmax(exec, _mesa_Minmax); 1430e64d31b9Smaya SET_MultMatrixd(exec, _mesa_MultMatrixd); 1431e64d31b9Smaya SET_MultTransposeMatrixd(exec, _mesa_MultTransposeMatrixd); 1432e64d31b9Smaya SET_MultTransposeMatrixf(exec, _mesa_MultTransposeMatrixf); 1433e64d31b9Smaya SET_NewList(exec, _mesa_NewList); 1434e64d31b9Smaya SET_NormalPointerEXT(exec, _mesa_NormalPointerEXT); 1435e64d31b9Smaya SET_Ortho(exec, _mesa_Ortho); 1436e64d31b9Smaya SET_PassTexCoordATI(exec, _mesa_PassTexCoordATI); 1437e64d31b9Smaya SET_PassThrough(exec, _mesa_PassThrough); 1438e64d31b9Smaya SET_PixelMapfv(exec, _mesa_PixelMapfv); 1439e64d31b9Smaya SET_PixelMapuiv(exec, _mesa_PixelMapuiv); 1440e64d31b9Smaya SET_PixelMapusv(exec, _mesa_PixelMapusv); 1441e64d31b9Smaya SET_PixelTransferf(exec, _mesa_PixelTransferf); 1442e64d31b9Smaya SET_PixelTransferi(exec, _mesa_PixelTransferi); 1443e64d31b9Smaya SET_PixelZoom(exec, _mesa_PixelZoom); 1444e64d31b9Smaya SET_PolygonStipple(exec, _mesa_PolygonStipple); 1445e64d31b9Smaya SET_PopAttrib(exec, _mesa_PopAttrib); 1446e64d31b9Smaya SET_PopClientAttrib(exec, _mesa_PopClientAttrib); 1447e64d31b9Smaya SET_PopName(exec, _mesa_PopName); 1448e64d31b9Smaya SET_PrioritizeTextures(exec, _mesa_PrioritizeTextures); 1449e64d31b9Smaya SET_ProgramEnvParameter4dARB(exec, _mesa_ProgramEnvParameter4dARB); 1450e64d31b9Smaya SET_ProgramEnvParameter4dvARB(exec, _mesa_ProgramEnvParameter4dvARB); 1451e64d31b9Smaya SET_ProgramEnvParameter4fARB(exec, _mesa_ProgramEnvParameter4fARB); 1452e64d31b9Smaya SET_ProgramEnvParameter4fvARB(exec, _mesa_ProgramEnvParameter4fvARB); 1453e64d31b9Smaya SET_ProgramEnvParameters4fvEXT(exec, _mesa_ProgramEnvParameters4fvEXT); 1454e64d31b9Smaya SET_ProgramLocalParameter4dARB(exec, _mesa_ProgramLocalParameter4dARB); 1455e64d31b9Smaya SET_ProgramLocalParameter4dvARB(exec, _mesa_ProgramLocalParameter4dvARB); 1456e64d31b9Smaya SET_ProgramLocalParameter4fARB(exec, _mesa_ProgramLocalParameter4fARB); 1457e64d31b9Smaya SET_ProgramLocalParameter4fvARB(exec, _mesa_ProgramLocalParameter4fvARB); 1458e64d31b9Smaya SET_ProgramLocalParameters4fvEXT(exec, _mesa_ProgramLocalParameters4fvEXT); 1459e64d31b9Smaya SET_ProgramStringARB(exec, _mesa_ProgramStringARB); 1460e64d31b9Smaya SET_PushAttrib(exec, _mesa_PushAttrib); 1461e64d31b9Smaya SET_PushClientAttrib(exec, _mesa_PushClientAttrib); 1462e64d31b9Smaya SET_PushName(exec, _mesa_PushName); 1463e64d31b9Smaya SET_RasterPos2d(exec, _mesa_RasterPos2d); 1464e64d31b9Smaya SET_RasterPos2dv(exec, _mesa_RasterPos2dv); 1465e64d31b9Smaya SET_RasterPos2f(exec, _mesa_RasterPos2f); 1466e64d31b9Smaya SET_RasterPos2fv(exec, _mesa_RasterPos2fv); 1467e64d31b9Smaya SET_RasterPos2i(exec, _mesa_RasterPos2i); 1468e64d31b9Smaya SET_RasterPos2iv(exec, _mesa_RasterPos2iv); 1469e64d31b9Smaya SET_RasterPos2s(exec, _mesa_RasterPos2s); 1470e64d31b9Smaya SET_RasterPos2sv(exec, _mesa_RasterPos2sv); 1471e64d31b9Smaya SET_RasterPos3d(exec, _mesa_RasterPos3d); 1472e64d31b9Smaya SET_RasterPos3dv(exec, _mesa_RasterPos3dv); 1473e64d31b9Smaya SET_RasterPos3f(exec, _mesa_RasterPos3f); 1474e64d31b9Smaya SET_RasterPos3fv(exec, _mesa_RasterPos3fv); 1475e64d31b9Smaya SET_RasterPos3i(exec, _mesa_RasterPos3i); 1476e64d31b9Smaya SET_RasterPos3iv(exec, _mesa_RasterPos3iv); 1477e64d31b9Smaya SET_RasterPos3s(exec, _mesa_RasterPos3s); 1478e64d31b9Smaya SET_RasterPos3sv(exec, _mesa_RasterPos3sv); 1479e64d31b9Smaya SET_RasterPos4d(exec, _mesa_RasterPos4d); 1480e64d31b9Smaya SET_RasterPos4dv(exec, _mesa_RasterPos4dv); 1481e64d31b9Smaya SET_RasterPos4f(exec, _mesa_RasterPos4f); 1482e64d31b9Smaya SET_RasterPos4fv(exec, _mesa_RasterPos4fv); 1483e64d31b9Smaya SET_RasterPos4i(exec, _mesa_RasterPos4i); 1484e64d31b9Smaya SET_RasterPos4iv(exec, _mesa_RasterPos4iv); 1485e64d31b9Smaya SET_RasterPos4s(exec, _mesa_RasterPos4s); 1486e64d31b9Smaya SET_RasterPos4sv(exec, _mesa_RasterPos4sv); 1487e64d31b9Smaya SET_Rectd(exec, _mesa_Rectd); 1488e64d31b9Smaya SET_Rectdv(exec, _mesa_Rectdv); 148996c5ddc4Srjs SET_Rectf(exec, _mesa_Rectf); 1490e64d31b9Smaya SET_Rectfv(exec, _mesa_Rectfv); 1491e64d31b9Smaya SET_Recti(exec, _mesa_Recti); 1492e64d31b9Smaya SET_Rectiv(exec, _mesa_Rectiv); 1493e64d31b9Smaya SET_Rects(exec, _mesa_Rects); 1494e64d31b9Smaya SET_Rectsv(exec, _mesa_Rectsv); 1495e64d31b9Smaya SET_RenderMode(exec, _mesa_RenderMode); 1496e64d31b9Smaya SET_ResetHistogram(exec, _mesa_ResetHistogram); 1497e64d31b9Smaya SET_ResetMinmax(exec, _mesa_ResetMinmax); 1498e64d31b9Smaya SET_Rotated(exec, _mesa_Rotated); 1499e64d31b9Smaya SET_SampleMapATI(exec, _mesa_SampleMapATI); 1500e64d31b9Smaya SET_Scaled(exec, _mesa_Scaled); 1501e64d31b9Smaya SET_SelectBuffer(exec, _mesa_SelectBuffer); 1502e64d31b9Smaya SET_SeparableFilter2D(exec, _mesa_SeparableFilter2D); 1503e64d31b9Smaya SET_SetFragmentShaderConstantATI(exec, _mesa_SetFragmentShaderConstantATI); 1504e64d31b9Smaya SET_StencilFuncSeparateATI(exec, _mesa_StencilFuncSeparateATI); 1505e64d31b9Smaya SET_TexCoordPointerEXT(exec, _mesa_TexCoordPointerEXT); 1506e64d31b9Smaya SET_TexGend(exec, _mesa_TexGend); 1507e64d31b9Smaya SET_TexGendv(exec, _mesa_TexGendv); 1508e64d31b9Smaya SET_Translated(exec, _mesa_Translated); 1509e64d31b9Smaya SET_UnlockArraysEXT(exec, _mesa_UnlockArraysEXT); 1510e64d31b9Smaya SET_VertexPointerEXT(exec, _mesa_VertexPointerEXT); 1511e64d31b9Smaya SET_WindowPos2d(exec, _mesa_WindowPos2d); 1512e64d31b9Smaya SET_WindowPos2dv(exec, _mesa_WindowPos2dv); 1513e64d31b9Smaya SET_WindowPos2f(exec, _mesa_WindowPos2f); 1514e64d31b9Smaya SET_WindowPos2fv(exec, _mesa_WindowPos2fv); 1515e64d31b9Smaya SET_WindowPos2i(exec, _mesa_WindowPos2i); 1516e64d31b9Smaya SET_WindowPos2iv(exec, _mesa_WindowPos2iv); 1517e64d31b9Smaya SET_WindowPos2s(exec, _mesa_WindowPos2s); 1518e64d31b9Smaya SET_WindowPos2sv(exec, _mesa_WindowPos2sv); 1519e64d31b9Smaya SET_WindowPos3d(exec, _mesa_WindowPos3d); 1520e64d31b9Smaya SET_WindowPos3dv(exec, _mesa_WindowPos3dv); 1521e64d31b9Smaya SET_WindowPos3f(exec, _mesa_WindowPos3f); 1522e64d31b9Smaya SET_WindowPos3fv(exec, _mesa_WindowPos3fv); 1523e64d31b9Smaya SET_WindowPos3i(exec, _mesa_WindowPos3i); 1524e64d31b9Smaya SET_WindowPos3iv(exec, _mesa_WindowPos3iv); 1525e64d31b9Smaya SET_WindowPos3s(exec, _mesa_WindowPos3s); 1526e64d31b9Smaya SET_WindowPos3sv(exec, _mesa_WindowPos3sv); 1527e64d31b9Smaya SET_WindowPos4dMESA(exec, _mesa_WindowPos4dMESA); 1528e64d31b9Smaya SET_WindowPos4dvMESA(exec, _mesa_WindowPos4dvMESA); 1529e64d31b9Smaya SET_WindowPos4fMESA(exec, _mesa_WindowPos4fMESA); 1530e64d31b9Smaya SET_WindowPos4fvMESA(exec, _mesa_WindowPos4fvMESA); 1531e64d31b9Smaya SET_WindowPos4iMESA(exec, _mesa_WindowPos4iMESA); 1532e64d31b9Smaya SET_WindowPos4ivMESA(exec, _mesa_WindowPos4ivMESA); 1533e64d31b9Smaya SET_WindowPos4sMESA(exec, _mesa_WindowPos4sMESA); 1534e64d31b9Smaya SET_WindowPos4svMESA(exec, _mesa_WindowPos4svMESA); 1535e64d31b9Smaya } 1536e64d31b9Smaya if (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGLES) { 1537e64d31b9Smaya SET_AlphaFunc(exec, _mesa_AlphaFunc); 1538e64d31b9Smaya SET_ClientActiveTexture(exec, _mesa_ClientActiveTexture); 1539e64d31b9Smaya SET_DisableClientState(exec, _mesa_DisableClientState); 1540e64d31b9Smaya SET_EnableClientState(exec, _mesa_EnableClientState); 1541e64d31b9Smaya SET_Fogf(exec, _mesa_Fogf); 1542e64d31b9Smaya SET_Fogfv(exec, _mesa_Fogfv); 1543e64d31b9Smaya SET_GetLightfv(exec, _mesa_GetLightfv); 1544e64d31b9Smaya SET_GetMaterialfv(exec, _mesa_GetMaterialfv); 1545e64d31b9Smaya SET_GetTexEnvfv(exec, _mesa_GetTexEnvfv); 1546e64d31b9Smaya SET_GetTexEnviv(exec, _mesa_GetTexEnviv); 1547e64d31b9Smaya SET_GetTexGenfv(exec, _mesa_GetTexGenfv); 1548e64d31b9Smaya SET_GetTexGeniv(exec, _mesa_GetTexGeniv); 1549e64d31b9Smaya SET_LightModelf(exec, _mesa_LightModelf); 1550e64d31b9Smaya SET_LightModelfv(exec, _mesa_LightModelfv); 1551e64d31b9Smaya SET_Lightf(exec, _mesa_Lightf); 1552e64d31b9Smaya SET_Lightfv(exec, _mesa_Lightfv); 1553e64d31b9Smaya SET_LoadIdentity(exec, _mesa_LoadIdentity); 1554e64d31b9Smaya SET_LoadMatrixf(exec, _mesa_LoadMatrixf); 1555e64d31b9Smaya SET_MatrixMode(exec, _mesa_MatrixMode); 1556e64d31b9Smaya SET_MultMatrixf(exec, _mesa_MultMatrixf); 1557e64d31b9Smaya SET_PopMatrix(exec, _mesa_PopMatrix); 1558e64d31b9Smaya SET_PushMatrix(exec, _mesa_PushMatrix); 1559e64d31b9Smaya SET_Rotatef(exec, _mesa_Rotatef); 1560e64d31b9Smaya SET_Scalef(exec, _mesa_Scalef); 1561e64d31b9Smaya SET_ShadeModel(exec, _mesa_ShadeModel); 1562e64d31b9Smaya SET_TexEnvf(exec, _mesa_TexEnvf); 1563e64d31b9Smaya SET_TexEnvfv(exec, _mesa_TexEnvfv); 1564e64d31b9Smaya SET_TexEnvi(exec, _mesa_TexEnvi); 1565e64d31b9Smaya SET_TexEnviv(exec, _mesa_TexEnviv); 1566e64d31b9Smaya SET_TexGenf(exec, _mesa_TexGenf); 1567e64d31b9Smaya SET_TexGenfv(exec, _mesa_TexGenfv); 1568e64d31b9Smaya SET_TexGeni(exec, _mesa_TexGeni); 1569e64d31b9Smaya SET_TexGeniv(exec, _mesa_TexGeniv); 1570e64d31b9Smaya SET_Translatef(exec, _mesa_Translatef); 1571e64d31b9Smaya } 1572e64d31b9Smaya if (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGL_CORE) { 1573e64d31b9Smaya SET_CheckNamedFramebufferStatus(exec, _mesa_CheckNamedFramebufferStatus); 1574e64d31b9Smaya SET_ClearNamedFramebufferfi(exec, _mesa_ClearNamedFramebufferfi); 1575e64d31b9Smaya SET_ClearNamedFramebufferfv(exec, _mesa_ClearNamedFramebufferfv); 1576e64d31b9Smaya SET_ClearNamedFramebufferiv(exec, _mesa_ClearNamedFramebufferiv); 1577e64d31b9Smaya SET_ClearNamedFramebufferuiv(exec, _mesa_ClearNamedFramebufferuiv); 1578e64d31b9Smaya SET_CreateFramebuffers(exec, _mesa_CreateFramebuffers); 1579e64d31b9Smaya SET_CreateQueries(exec, _mesa_CreateQueries); 1580e64d31b9Smaya SET_CreateTransformFeedbacks(exec, _mesa_CreateTransformFeedbacks); 1581e64d31b9Smaya SET_GetActiveSubroutineName(exec, _mesa_GetActiveSubroutineName); 1582e64d31b9Smaya SET_GetActiveSubroutineUniformName(exec, _mesa_GetActiveSubroutineUniformName); 1583e64d31b9Smaya SET_GetActiveSubroutineUniformiv(exec, _mesa_GetActiveSubroutineUniformiv); 1584e64d31b9Smaya SET_GetCompressedTextureImage(exec, _mesa_GetCompressedTextureImage); 1585e64d31b9Smaya SET_GetNamedBufferParameteri64v(exec, _mesa_GetNamedBufferParameteri64v); 1586e64d31b9Smaya SET_GetNamedBufferParameteriv(exec, _mesa_GetNamedBufferParameteriv); 1587e64d31b9Smaya SET_GetNamedBufferPointerv(exec, _mesa_GetNamedBufferPointerv); 1588e64d31b9Smaya SET_GetNamedBufferSubData(exec, _mesa_GetNamedBufferSubData); 1589e64d31b9Smaya SET_GetNamedFramebufferAttachmentParameteriv(exec, _mesa_GetNamedFramebufferAttachmentParameteriv); 1590e64d31b9Smaya SET_GetNamedFramebufferParameteriv(exec, _mesa_GetNamedFramebufferParameteriv); 1591e64d31b9Smaya SET_GetNamedRenderbufferParameteriv(exec, _mesa_GetNamedRenderbufferParameteriv); 1592e64d31b9Smaya SET_GetProgramStageiv(exec, _mesa_GetProgramStageiv); 1593e64d31b9Smaya SET_GetQueryBufferObjecti64v(exec, _mesa_GetQueryBufferObjecti64v); 1594e64d31b9Smaya SET_GetQueryBufferObjectiv(exec, _mesa_GetQueryBufferObjectiv); 1595e64d31b9Smaya SET_GetQueryBufferObjectui64v(exec, _mesa_GetQueryBufferObjectui64v); 1596e64d31b9Smaya SET_GetQueryBufferObjectuiv(exec, _mesa_GetQueryBufferObjectuiv); 1597e64d31b9Smaya SET_GetSubroutineIndex(exec, _mesa_GetSubroutineIndex); 1598e64d31b9Smaya SET_GetSubroutineUniformLocation(exec, _mesa_GetSubroutineUniformLocation); 1599e64d31b9Smaya SET_GetTextureImage(exec, _mesa_GetTextureImage); 1600e64d31b9Smaya SET_GetTextureLevelParameterfv(exec, _mesa_GetTextureLevelParameterfv); 1601e64d31b9Smaya SET_GetTextureLevelParameteriv(exec, _mesa_GetTextureLevelParameteriv); 1602e64d31b9Smaya SET_GetTextureParameterIiv(exec, _mesa_GetTextureParameterIiv); 1603e64d31b9Smaya SET_GetTextureParameterIuiv(exec, _mesa_GetTextureParameterIuiv); 1604e64d31b9Smaya SET_GetTextureParameterfv(exec, _mesa_GetTextureParameterfv); 1605e64d31b9Smaya SET_GetTextureParameteriv(exec, _mesa_GetTextureParameteriv); 1606e64d31b9Smaya SET_GetTransformFeedbacki64_v(exec, _mesa_GetTransformFeedbacki64_v); 1607e64d31b9Smaya SET_GetTransformFeedbacki_v(exec, _mesa_GetTransformFeedbacki_v); 1608e64d31b9Smaya SET_GetTransformFeedbackiv(exec, _mesa_GetTransformFeedbackiv); 1609e64d31b9Smaya SET_GetUniformSubroutineuiv(exec, _mesa_GetUniformSubroutineuiv); 1610e64d31b9Smaya SET_GetUniformdv(exec, _mesa_GetUniformdv); 161196c5ddc4Srjs SET_GetUniformi64vARB(exec, _mesa_GetUniformi64vARB); 161296c5ddc4Srjs SET_GetUniformui64vARB(exec, _mesa_GetUniformui64vARB); 1613e64d31b9Smaya SET_GetVertexArrayIndexed64iv(exec, _mesa_GetVertexArrayIndexed64iv); 1614e64d31b9Smaya SET_GetVertexArrayIndexediv(exec, _mesa_GetVertexArrayIndexediv); 1615e64d31b9Smaya SET_GetVertexArrayiv(exec, _mesa_GetVertexArrayiv); 1616e64d31b9Smaya SET_GetVertexAttribLdv(exec, _mesa_GetVertexAttribLdv); 1617e64d31b9Smaya SET_GetVertexAttribLui64vARB(exec, _mesa_GetVertexAttribLui64vARB); 161896c5ddc4Srjs SET_GetnUniformi64vARB(exec, _mesa_GetnUniformi64vARB); 161996c5ddc4Srjs SET_GetnUniformui64vARB(exec, _mesa_GetnUniformui64vARB); 1620e64d31b9Smaya SET_InvalidateNamedFramebufferData(exec, _mesa_InvalidateNamedFramebufferData); 1621e64d31b9Smaya SET_InvalidateNamedFramebufferSubData(exec, _mesa_InvalidateNamedFramebufferSubData); 1622e64d31b9Smaya SET_NamedFramebufferParameteri(exec, _mesa_NamedFramebufferParameteri); 1623e64d31b9Smaya SET_NamedRenderbufferStorage(exec, _mesa_NamedRenderbufferStorage); 1624e64d31b9Smaya SET_NamedRenderbufferStorageMultisample(exec, _mesa_NamedRenderbufferStorageMultisample); 162596c5ddc4Srjs SET_ProgramUniform1i64ARB(exec, _mesa_ProgramUniform1i64ARB); 162696c5ddc4Srjs SET_ProgramUniform1i64vARB(exec, _mesa_ProgramUniform1i64vARB); 162796c5ddc4Srjs SET_ProgramUniform1ui64ARB(exec, _mesa_ProgramUniform1ui64ARB); 162896c5ddc4Srjs SET_ProgramUniform1ui64vARB(exec, _mesa_ProgramUniform1ui64vARB); 162996c5ddc4Srjs SET_ProgramUniform2i64ARB(exec, _mesa_ProgramUniform2i64ARB); 163096c5ddc4Srjs SET_ProgramUniform2i64vARB(exec, _mesa_ProgramUniform2i64vARB); 163196c5ddc4Srjs SET_ProgramUniform2ui64ARB(exec, _mesa_ProgramUniform2ui64ARB); 163296c5ddc4Srjs SET_ProgramUniform2ui64vARB(exec, _mesa_ProgramUniform2ui64vARB); 163396c5ddc4Srjs SET_ProgramUniform3i64ARB(exec, _mesa_ProgramUniform3i64ARB); 163496c5ddc4Srjs SET_ProgramUniform3i64vARB(exec, _mesa_ProgramUniform3i64vARB); 163596c5ddc4Srjs SET_ProgramUniform3ui64ARB(exec, _mesa_ProgramUniform3ui64ARB); 163696c5ddc4Srjs SET_ProgramUniform3ui64vARB(exec, _mesa_ProgramUniform3ui64vARB); 163796c5ddc4Srjs SET_ProgramUniform4i64ARB(exec, _mesa_ProgramUniform4i64ARB); 163896c5ddc4Srjs SET_ProgramUniform4i64vARB(exec, _mesa_ProgramUniform4i64vARB); 163996c5ddc4Srjs SET_ProgramUniform4ui64ARB(exec, _mesa_ProgramUniform4ui64ARB); 164096c5ddc4Srjs SET_ProgramUniform4ui64vARB(exec, _mesa_ProgramUniform4ui64vARB); 1641e64d31b9Smaya SET_TextureBuffer(exec, _mesa_TextureBuffer); 1642e64d31b9Smaya SET_TextureBufferRange(exec, _mesa_TextureBufferRange); 1643e64d31b9Smaya SET_TextureParameterIiv(exec, _mesa_TextureParameterIiv); 1644e64d31b9Smaya SET_TextureParameterIuiv(exec, _mesa_TextureParameterIuiv); 1645e64d31b9Smaya SET_TextureParameterf(exec, _mesa_TextureParameterf); 1646e64d31b9Smaya SET_TextureParameterfv(exec, _mesa_TextureParameterfv); 1647e64d31b9Smaya SET_TextureParameteri(exec, _mesa_TextureParameteri); 1648e64d31b9Smaya SET_TextureParameteriv(exec, _mesa_TextureParameteriv); 1649e64d31b9Smaya SET_TextureStorage2DMultisample(exec, _mesa_TextureStorage2DMultisample); 1650e64d31b9Smaya SET_TextureStorage3DMultisample(exec, _mesa_TextureStorage3DMultisample); 1651e64d31b9Smaya SET_TransformFeedbackBufferBase(exec, _mesa_TransformFeedbackBufferBase); 1652e64d31b9Smaya SET_TransformFeedbackBufferRange(exec, _mesa_TransformFeedbackBufferRange); 1653e64d31b9Smaya SET_Uniform1d(exec, _mesa_Uniform1d); 1654e64d31b9Smaya SET_Uniform1dv(exec, _mesa_Uniform1dv); 165596c5ddc4Srjs SET_Uniform1i64ARB(exec, _mesa_Uniform1i64ARB); 165696c5ddc4Srjs SET_Uniform1i64vARB(exec, _mesa_Uniform1i64vARB); 165796c5ddc4Srjs SET_Uniform1ui64ARB(exec, _mesa_Uniform1ui64ARB); 165896c5ddc4Srjs SET_Uniform1ui64vARB(exec, _mesa_Uniform1ui64vARB); 1659e64d31b9Smaya SET_Uniform2d(exec, _mesa_Uniform2d); 1660e64d31b9Smaya SET_Uniform2dv(exec, _mesa_Uniform2dv); 166196c5ddc4Srjs SET_Uniform2i64ARB(exec, _mesa_Uniform2i64ARB); 166296c5ddc4Srjs SET_Uniform2i64vARB(exec, _mesa_Uniform2i64vARB); 166396c5ddc4Srjs SET_Uniform2ui64ARB(exec, _mesa_Uniform2ui64ARB); 166496c5ddc4Srjs SET_Uniform2ui64vARB(exec, _mesa_Uniform2ui64vARB); 1665e64d31b9Smaya SET_Uniform3d(exec, _mesa_Uniform3d); 1666e64d31b9Smaya SET_Uniform3dv(exec, _mesa_Uniform3dv); 166796c5ddc4Srjs SET_Uniform3i64ARB(exec, _mesa_Uniform3i64ARB); 166896c5ddc4Srjs SET_Uniform3i64vARB(exec, _mesa_Uniform3i64vARB); 166996c5ddc4Srjs SET_Uniform3ui64ARB(exec, _mesa_Uniform3ui64ARB); 167096c5ddc4Srjs SET_Uniform3ui64vARB(exec, _mesa_Uniform3ui64vARB); 1671e64d31b9Smaya SET_Uniform4d(exec, _mesa_Uniform4d); 1672e64d31b9Smaya SET_Uniform4dv(exec, _mesa_Uniform4dv); 167396c5ddc4Srjs SET_Uniform4i64ARB(exec, _mesa_Uniform4i64ARB); 167496c5ddc4Srjs SET_Uniform4i64vARB(exec, _mesa_Uniform4i64vARB); 167596c5ddc4Srjs SET_Uniform4ui64ARB(exec, _mesa_Uniform4ui64ARB); 167696c5ddc4Srjs SET_Uniform4ui64vARB(exec, _mesa_Uniform4ui64vARB); 1677e64d31b9Smaya SET_UniformMatrix2dv(exec, _mesa_UniformMatrix2dv); 1678e64d31b9Smaya SET_UniformMatrix2x3dv(exec, _mesa_UniformMatrix2x3dv); 1679e64d31b9Smaya SET_UniformMatrix2x4dv(exec, _mesa_UniformMatrix2x4dv); 1680e64d31b9Smaya SET_UniformMatrix3dv(exec, _mesa_UniformMatrix3dv); 1681e64d31b9Smaya SET_UniformMatrix3x2dv(exec, _mesa_UniformMatrix3x2dv); 1682e64d31b9Smaya SET_UniformMatrix3x4dv(exec, _mesa_UniformMatrix3x4dv); 1683e64d31b9Smaya SET_UniformMatrix4dv(exec, _mesa_UniformMatrix4dv); 1684e64d31b9Smaya SET_UniformMatrix4x2dv(exec, _mesa_UniformMatrix4x2dv); 1685e64d31b9Smaya SET_UniformMatrix4x3dv(exec, _mesa_UniformMatrix4x3dv); 1686e64d31b9Smaya SET_UniformSubroutinesuiv(exec, _mesa_UniformSubroutinesuiv); 1687e64d31b9Smaya SET_VertexArrayAttribFormat(exec, _mesa_VertexArrayAttribFormat); 1688e64d31b9Smaya SET_VertexArrayAttribIFormat(exec, _mesa_VertexArrayAttribIFormat); 1689e64d31b9Smaya SET_VertexArrayAttribLFormat(exec, _mesa_VertexArrayAttribLFormat); 1690e64d31b9Smaya } 1691e64d31b9Smaya if (ctx->API == API_OPENGL_COMPAT || ctx->API == API_OPENGL_CORE || (ctx->API == API_OPENGLES2 && ctx->Version >= 31)) { 1692e64d31b9Smaya SET_FramebufferParameteri(exec, _mesa_FramebufferParameteri); 169396c5ddc4Srjs SET_GetFramebufferParameteriv(exec, _mesa_GetFramebufferParameteriv); 1694e64d31b9Smaya SET_TexBuffer(exec, _mesa_TexBuffer); 1695e64d31b9Smaya SET_TexBufferRange(exec, _mesa_TexBufferRange); 1696e64d31b9Smaya } 169796c5ddc4Srjs if (ctx->API == API_OPENGL_CORE || (ctx->API == API_OPENGLES2 && ctx->Version >= 30)) { 169896c5ddc4Srjs SET_FramebufferParameteriMESA(exec, _mesa_FramebufferParameteriMESA); 169996c5ddc4Srjs SET_GetFramebufferParameterivMESA(exec, _mesa_GetFramebufferParameterivMESA); 1700e64d31b9Smaya } 1701e64d31b9Smaya 1702e64d31b9Smaya} 1703e64d31b9Smaya 1704