summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_blit.c
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2010-09-01 13:04:42 -0400
committerJerome Glisse <[email protected]>2010-09-01 13:04:42 -0400
commit15ce70252c5357081a61f3494261c7e343174301 (patch)
tree896ad87c15a6aad2bf40cca8e69ab2e25420e152 /src/gallium/drivers/r600/r600_blit.c
parent4a955ab6b78e3b3a4cdd54dc933715f0dafbe7f4 (diff)
Revert "Revert "r600g: precompute some of the hw state""
This reverts commit 1fa7245c348cb7aced81f1672140f64cb6450e2f. Conflicts: src/gallium/drivers/r600/r600_state.c
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r--src/gallium/drivers/r600/r600_blit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index 1d197e92b28..a8263ccbce9 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -670,7 +670,7 @@ int r600_blit_uncompress_depth(struct pipe_context *ctx, struct r600_resource_te
if (r) {
return r;
}
- r = r600_texture_cb0(ctx, rtexture, level);
+ r = r600_texture_cb(ctx, rtexture, 0, level);
if (r) {
return r;
}
@@ -772,7 +772,7 @@ int r600_blit_uncompress_depth(struct pipe_context *ctx, struct r600_resource_te
if (r) {
goto out;
}
- r = radeon_draw_set(draw, rtexture->cb0[level]);
+ r = radeon_draw_set(draw, rtexture->cb[0][level]);
if (r) {
goto out;
}