summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-04-06 23:25:27 -0700
committerCorbin Simpson <[email protected]>2009-04-06 23:25:27 -0700
commit6a1be41af93ef0ad835c75b993603c54917f934d (patch)
tree55e071f52910d6ba7c0b7089e0a74c841b579e05
parentffbf3f4952fa9e7c2971a73d9540ed977fdc6c9a (diff)
r300-gallium: Fix surface_copy too.
-rw-r--r--src/gallium/drivers/r300/r300_surface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_surface.c b/src/gallium/drivers/r300/r300_surface.c
index 6bc39954b71..79bed032538 100644
--- a/src/gallium/drivers/r300/r300_surface.c
+++ b/src/gallium/drivers/r300/r300_surface.c
@@ -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) |