r300-gallium: Fix surface_copy too.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Tue, 7 Apr 2009 06:25:27 +0000 (23:25 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Tue, 7 Apr 2009 06:25:27 +0000 (23:25 -0700)
src/gallium/drivers/r300/r300_surface.c

index 6bc39954b718d11a4208aea5aaab97c5efbc0fdb..79bed0325388a9abff52e99900259c1e1ee7a8ec 100644 (file)
@@ -228,7 +228,8 @@ static void r300_surface_copy(struct pipe_context* pipe,
     if (caps->has_tcl) {
         r300_emit_vertex_shader(r300, &r300_texture_vertex_shader);
     } else {
-        BEGIN_CS(2);
+        BEGIN_CS(4);
+        OUT_CS_REG(R300_VAP_CNTL_STATUS, R300_VAP_TCL_BYPASS);
         OUT_CS_REG(R300_VAP_CNTL, R300_PVS_NUM_SLOTS(5) |
                 R300_PVS_NUM_CNTLRS(5) |
                 R300_PVS_NUM_FPUS(caps->num_vert_fpus) |