nv50: disable ztest for now - it doesn't work still
authorBen Skeggs <skeggsb@gmail.com>
Fri, 13 Jun 2008 01:50:13 +0000 (11:50 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Sun, 29 Jun 2008 05:46:18 +0000 (15:46 +1000)
src/gallium/drivers/nv50/nv50_state.c

index 176ebff5da4a00a3a8cd88473a47f38f930a98d6..0129b0fb144439c5b5220f0497bca3d160ce1614 100644 (file)
@@ -247,10 +247,10 @@ nv50_depth_stencil_alpha_state_create(struct pipe_context *pipe,
        struct nouveau_stateobj *so = so_new(64, 0);
 
        so_method(so, tesla, NV50TCL_DEPTH_WRITE_ENABLE, 1);
-       so_data  (so, cso->depth.writemask ? 1 : 0);
+       so_data  (so, 0); //cso->depth.writemask ? 1 : 0);
        if (cso->depth.enabled) {
                so_method(so, tesla, NV50TCL_DEPTH_TEST_ENABLE, 1);
-               so_data  (so, 1);
+               so_data  (so, 0); //1);
                so_method(so, tesla, NV50TCL_DEPTH_TEST_FUNC, 1);
                so_data  (so, nvgl_comparison_op(cso->depth.func));
        } else {