From: Zou Nan hai Date: Tue, 18 Sep 2007 04:59:50 +0000 (+0800) Subject: ARB_shader_object ARB_vertex_shader ARB_fragment_shader in 965-glsl branch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec9e7bc753316cebed9c9ce12aa5513486c6b8d0;p=mesa.git ARB_shader_object ARB_vertex_shader ARB_fragment_shader in 965-glsl branch --- diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c index 35babcac233..ac8aa5bd52c 100644 --- a/src/mesa/drivers/dri/i965/intel_context.c +++ b/src/mesa/drivers/dri/i965/intel_context.c @@ -82,6 +82,9 @@ int INTEL_DEBUG = (0); #define need_GL_EXT_multi_draw_arrays #define need_GL_EXT_secondary_color #define need_GL_VERSION_2_0 +#define need_GL_ARB_shader_objects +#define need_GL_ARB_vertex_shader + #include "extension_helper.h" #ifndef VERBOSE @@ -185,6 +188,9 @@ const struct dri_extension card_extensions[] = { "GL_NV_blend_square", NULL }, { "GL_SGIS_generate_mipmap", NULL }, { "GL_ARB_shading_language_100", GL_VERSION_2_0_functions}, + { "GL_ARB_shader_objects", GL_ARB_shader_objects_functions}, + { "GL_ARB_vertex_shader", GL_ARB_vertex_shader_functions}, + { "GL_ARB_fragment_shader", NULL }, /* XXX not implement yet, to compile builtin glsl lib */ { "GL_ARB_draw_buffers", NULL }, { NULL, NULL }