compiler is hooked in. May be enabled on compiler command line by setting
-DFEATURE_shading_lanuage=1.
#define FEATURE_ARB_shader_objects (FEATURE_ARB_vertex_shader || FEATURE_ARB_fragment_shader)
#define FEATURE_ATI_fragment_shader _HAVE_FULL_GL
#define FEATURE_EXT_framebuffer_object _HAVE_FULL_GL
+
+#ifndef FEATURE_shading_language
+#define FEATURE_shading_language 0
+#endif
/*@}*/
GLhandleARB GLAPIENTRY
_mesa_CreateShaderObjectARB (GLenum shaderType)
{
-#if 0
+#if FEATURE_shading_language
return _mesa_3dlabs_create_shader_object (shaderType);
#endif
}
GLhandleARB GLAPIENTRY
_mesa_CreateProgramObjectARB (void)
{
-#if 0
+#if FEATURE_shading_language
return _mesa_3dlabs_create_program_object ();
#endif
}
{
ctx->ShaderObjects.current_program = NULL;
-#if 0 /* disable for now */
+#if FEATURE_shading_language
_mesa_init_shaderobjects_3dlabs (ctx);
#endif
}