diff options
author | Marek Olšák <[email protected]> | 2013-09-22 21:45:23 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-09-29 15:18:09 +0200 |
commit | 68f6dec32ed5eede361f76c8dbdf897652659baf (patch) | |
tree | cb05d89cd004f259765188c76ed151d4f77eb615 /src/gallium/drivers/r600/r600_texture.c | |
parent | 0cb9de1dd078395d541c32c0de81ea4f05147baa (diff) |
r600g: move aux_context and r600_screen_clear_buffer to drivers/radeon
This will be used in the next commit.
Diffstat (limited to 'src/gallium/drivers/r600/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_texture.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index b49258288c0..403efd1a2ae 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -514,7 +514,7 @@ r600_texture_create_object(struct pipe_screen *screen, */ R600_ERR("r600: failed to create bo for htile buffers\n"); } else { - r600_screen_clear_buffer(rscreen, &rtex->htile->b.b, 0, htile_size, 0); + r600_screen_clear_buffer(&rscreen->b, &rtex->htile->b.b, 0, htile_size, 0); } } @@ -537,8 +537,8 @@ r600_texture_create_object(struct pipe_screen *screen, if (rtex->cmask.size) { /* Initialize the cmask to 0xCC (= compressed state). */ - r600_screen_clear_buffer(rscreen, &rtex->cmask_buffer->b.b, - rtex->cmask.offset, rtex->cmask.size, 0xCC); + r600_screen_clear_buffer(&rscreen->b, &rtex->cmask_buffer->b.b, + rtex->cmask.offset, rtex->cmask.size, 0xCCCCCCCC); } if (rscreen->b.debug_flags & DBG_VM) { |