diff options
author | Brian Paul <[email protected]> | 2009-03-03 14:01:10 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-03-03 14:01:10 -0700 |
commit | c37872d8c02c5c875b1570d8eaa1fe5de0380b53 (patch) | |
tree | a1836fcba93f924ecc9e6f3ced508faad6db57be /src/mesa | |
parent | de1caa550700ae38ff791c30f6d482f3efddebd0 (diff) |
xlib: code to force fixed function -> shader translation (for debug, disabled)
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/x11/xm_api.c | 8 |
1 files changed, 8 insertions, 0 deletions
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); |