projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de1caa5
)
xlib: code to force fixed function -> shader translation (for debug, disabled)
author
Brian Paul
<brianp@vmware.com>
Tue, 3 Mar 2009 21:01:10 +0000
(14:01 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 3 Mar 2009 21:01:10 +0000
(14:01 -0700)
src/mesa/drivers/x11/xm_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/x11/xm_api.c
b/src/mesa/drivers/x11/xm_api.c
index 908fecc85a1d74a685c2d64c612a2eac164c02c7..6ae5b6fd5800f3402c051a82487e7025ca9d11d2 100644
(file)
--- 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);