From: Brian Paul Date: Tue, 3 Mar 2009 21:01:10 +0000 (-0700) Subject: xlib: code to force fixed function -> shader translation (for debug, disabled) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c37872d8c02c5c875b1570d8eaa1fe5de0380b53;p=mesa.git xlib: code to force fixed function -> shader translation (for debug, disabled) --- diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 908fecc85a1..6ae5b6fd580 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -1584,6 +1584,14 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list ) return NULL; } + /* Enable this to exercise fixed function -> shader translation + * with software rendering. + */ + if (0) { + mesaCtx->VertexProgram._MaintainTnlProgram = GL_TRUE; + mesaCtx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; + } + _mesa_enable_sw_extensions(mesaCtx); _mesa_enable_1_3_extensions(mesaCtx); _mesa_enable_1_4_extensions(mesaCtx);