diff options
author | Marek Olšák <[email protected]> | 2012-08-14 02:29:17 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-08-16 20:44:53 +0200 |
commit | 951ac46a6a0a901b53a518c8dcde734578cbf228 (patch) | |
tree | cd8a654912bdc49ccbcdd9b43eb6f8e2cf4ca1d4 /src/gallium/drivers/r600/r600_state_common.c | |
parent | 952c90576753550f4deed4dac42d8fd6129a9cce (diff) |
r600g: rename r600_resource_texture to r600_texture
Diffstat (limited to 'src/gallium/drivers/r600/r600_state_common.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index d8c5fb284ef..ba5e26c6411 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -607,8 +607,8 @@ void r600_set_sampler_views(struct pipe_context *pipe, } if (rviews[i]) { - struct r600_resource_texture *rtex = - (struct r600_resource_texture*)rviews[i]->base.texture; + struct r600_texture *rtex = + (struct r600_texture*)rviews[i]->base.texture; if (rtex->is_depth && !rtex->is_flushing_texture) { dst->views.depth_texture_mask |= 1 << i; @@ -1237,7 +1237,7 @@ void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo) /* Set the depth buffer as dirty. */ if (rctx->framebuffer.zsbuf) { struct pipe_surface *surf = rctx->framebuffer.zsbuf; - struct r600_resource_texture *rtex = (struct r600_resource_texture *)surf->texture; + struct r600_texture *rtex = (struct r600_texture *)surf->texture; rtex->dirty_db_mask |= 1 << surf->u.tex.level; } |