Mesa (master): mesa: plug in dispatch functions for GL_ARB_texture_storage

Brian Paul brianp at kemper.freedesktop.org
Mon Oct 31 10:07:32 PDT 2011


Module: Mesa
Branch: master
Commit: 2ace9ffc8e2354acce4dc45d425d71c3f1a349b2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ace9ffc8e2354acce4dc45d425d71c3f1a349b2

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Oct 31 10:52:57 2011 -0600

mesa: plug in dispatch functions for GL_ARB_texture_storage

---

 src/mesa/main/api_exec.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 1bc39db..26fd37e 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -90,6 +90,7 @@
 #include "texobj.h"
 #include "texparam.h"
 #include "texstate.h"
+#include "texstorage.h"
 #include "texturebarrier.h"
 #include "transformfeedback.h"
 #include "mtypes.h"
@@ -742,6 +743,14 @@ _mesa_create_exec_table(void)
    /* GL_ARB_texture_buffer_object */
    SET_TexBufferARB(exec, _mesa_TexBuffer);
 
+   /* GL_ARB_texture_storage */
+   SET_TexStorage1D(exec, _mesa_TexStorage1D);
+   SET_TexStorage2D(exec, _mesa_TexStorage2D);
+   SET_TexStorage3D(exec, _mesa_TexStorage3D);
+   SET_TextureStorage1DEXT(exec, _mesa_TextureStorage1DEXT);
+   SET_TextureStorage2DEXT(exec, _mesa_TextureStorage2DEXT);
+   SET_TextureStorage3DEXT(exec, _mesa_TextureStorage3DEXT);
+
 #if FEATURE_ARB_sampler_objects
    _mesa_init_sampler_object_dispatch(exec);
 #endif



More information about the mesa-commit mailing list