diff options
author | Michal Krol <mjkrol@gmail.org> | 2006-07-30 15:29:11 +0000 |
---|---|---|
committer | Michal Krol <mjkrol@gmail.org> | 2006-07-30 15:29:11 +0000 |
commit | e8947a5fa020a24e7e07318f1ea9d85467d7d9e6 (patch) | |
tree | da0fc135aa48e01dabe279571541e1594faf23c8 /src/mesa/drivers/dri/common | |
parent | 91dbc04d5e50e2fb01dd74fe82955865f858e73c (diff) |
Add support for GL_MESA_shader_debug.
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r-- | src/mesa/drivers/dri/common/extension_helper.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/extension_helper.h b/src/mesa/drivers/dri/common/extension_helper.h index 6c8f71d66a..5892c1dee0 100644 --- a/src/mesa/drivers/dri/common/extension_helper.h +++ b/src/mesa/drivers/dri/common/extension_helper.h @@ -258,6 +258,13 @@ static const char VertexAttrib2fARB_names[] = ""; #endif +#if defined(need_GL_MESA_shader_debug) +static const char GetDebugLogLengthMESA_names[] = + "iii\0" /* Parameter signature */ + "glGetDebugLogLengthMESA\0" + ""; +#endif + #if defined(need_GL_EXT_histogram) static const char GetHistogramParameterivEXT_names[] = "iip\0" /* Parameter signature */ @@ -482,6 +489,13 @@ static const char GlobalAlphaFactorubSUN_names[] = ""; #endif +#if defined(need_GL_MESA_shader_debug) +static const char ClearDebugLogMESA_names[] = + "iii\0" /* Parameter signature */ + "glClearDebugLogMESA\0" + ""; +#endif + #if defined(need_GL_EXT_histogram) static const char ResetHistogram_names[] = "i\0" /* Parameter signature */ @@ -635,6 +649,13 @@ static const char FinishAsyncSGIX_names[] = ""; #endif +#if defined(need_GL_MESA_shader_debug) +static const char GetDebugLogMESA_names[] = + "iiiipp\0" /* Parameter signature */ + "glGetDebugLogMESA\0" + ""; +#endif + #if defined(need_GL_VERSION_1_4) || defined(need_GL_EXT_fog_coord) static const char FogCoorddEXT_names[] = "d\0" /* Parameter signature */ @@ -4285,6 +4306,13 @@ static const char VertexAttrib4svARB_names[] = ""; #endif +#if defined(need_GL_MESA_shader_debug) +static const char CreateDebugObjectMESA_names[] = + "\0" /* Parameter signature */ + "glCreateDebugObjectMESA\0" + ""; +#endif + #if defined(need_GL_ARB_shader_objects) static const char Uniform3fARB_names[] = "ifff\0" /* Parameter signature */ @@ -5335,6 +5363,16 @@ static const struct dri_extension_function GL_MESA_resize_buffers_functions[] = }; #endif +#if defined(need_GL_MESA_shader_debug) +static const struct dri_extension_function GL_MESA_shader_debug_functions[] = { + { GetDebugLogLengthMESA_names, GetDebugLogLengthMESA_remap_index, -1 }, + { ClearDebugLogMESA_names, ClearDebugLogMESA_remap_index, -1 }, + { GetDebugLogMESA_names, GetDebugLogMESA_remap_index, -1 }, + { CreateDebugObjectMESA_names, CreateDebugObjectMESA_remap_index, -1 }, + { NULL, 0, 0 } +}; +#endif + #if defined(need_GL_MESA_window_pos) static const struct dri_extension_function GL_MESA_window_pos_functions[] = { { WindowPos3fMESA_names, WindowPos3fMESA_remap_index, 523 }, |