diff options
author | Corbin Simpson <[email protected]> | 2009-02-27 12:23:16 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-02-27 12:25:09 -0800 |
commit | 49de8ec2eac7da8520c73d1a0f132b26e2fd1b9f (patch) | |
tree | 7bb6f5615f0e5a352a30c2c276bae6bbd9c65441 /src/gallium/drivers/r300/r300_emit.c | |
parent | 991c945e726311c9db6bea72a63e2a5cfb7ab37b (diff) |
r300-gallium: Properly split up RS into r300 and r500 variants.
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 86fa46df42c..2f9ec2c3beb 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -216,7 +216,7 @@ void r300_emit_rs_block_state(struct r300_context* r300, CS_LOCALS(r300); int i; - BEGIN_CS(0); + BEGIN_CS(21); if (r300screen->caps->is_r500) { OUT_CS_REG_SEQ(R500_RS_IP_0, 8); } else { @@ -238,6 +238,7 @@ void r300_emit_rs_block_state(struct r300_context* r300, for (i = 0; i < 8; i++) { OUT_CS(rs->inst[i]); } + END_CS; } |