summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_blit.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-09-21 20:02:55 +0200
committerMarek Olšák <[email protected]>2013-09-29 15:18:08 +0200
commitba29324dba334054950cb25b0a4bd98b05fc6631 (patch)
tree732cb7671f55eb1823f072b87728f9e39cbdf489 /src/gallium/drivers/r600/r600_blit.c
parent39801d4ba7e19e9ce1dbde3ba3441cae38e7dbaa (diff)
r600g: get rid of r600_texture::array_mode
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r--src/gallium/drivers/r600/r600_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index 1a78b976211..4bb9bf5e09e 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -485,7 +485,7 @@ static bool can_fast_clear_color(struct pipe_context *ctx)
}
/* only supported on tiled surfaces */
- if (tex->array_mode[0] < V_028C70_ARRAY_1D_TILED_THIN1) {
+ if (tex->surface.level[0].mode < RADEON_SURF_MODE_1D) {
return false;
}