diff options
author | Marek Olšák <[email protected]> | 2012-08-12 18:40:33 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-08-16 20:44:53 +0200 |
commit | 773ff5705f3b2d88fb7094b8d2e051bb684c2323 (patch) | |
tree | f5db15661630e999c731f9f568884c985f48a226 /src/gallium/drivers/r600/r600_blit.c | |
parent | 362a25aac5f8cd71c08ad92b4b19be6712d8fd72 (diff) |
r600g: cleanup r600_resource_texture in favor of radeon_surface
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_blit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 0ddc7126d49..8bc7648eb3a 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -178,7 +178,7 @@ void r600_blit_uncompress_depth(struct pipe_context *ctx, r600_atom_dirty(rctx, &rctx->db_misc_state.atom); } - surf_tmpl.format = texture->real_format; + surf_tmpl.format = texture->resource.b.b.format; surf_tmpl.u.tex.level = level; surf_tmpl.u.tex.first_layer = layer; surf_tmpl.u.tex.last_layer = layer; @@ -186,7 +186,7 @@ void r600_blit_uncompress_depth(struct pipe_context *ctx, zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl); - surf_tmpl.format = flushed_depth_texture->real_format; + surf_tmpl.format = flushed_depth_texture->resource.b.b.format; surf_tmpl.u.tex.level = level; surf_tmpl.u.tex.first_layer = layer; surf_tmpl.u.tex.last_layer = layer; @@ -472,7 +472,7 @@ static void r600_compressed_to_blittable(struct pipe_resource *tex, struct texture_orig_info *orig) { struct r600_resource_texture *rtex = (struct r600_resource_texture*)tex; - unsigned pixsize = util_format_get_blocksize(rtex->real_format); + unsigned pixsize = util_format_get_blocksize(rtex->resource.b.b.format); int new_format; int new_height, new_width; |