From: Dave Airlie Date: Tue, 21 Sep 2010 03:16:32 +0000 (+1000) Subject: r600g: fix typo in struct member name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e901e330aa7f0d186dad19bcc886bf45a76e50b;p=mesa.git r600g: fix typo in struct member name --- diff --git a/src/gallium/drivers/r600/eg_hw_states.c b/src/gallium/drivers/r600/eg_hw_states.c index 3d10095919a..6ad350b7d3c 100644 --- a/src/gallium/drivers/r600/eg_hw_states.c +++ b/src/gallium/drivers/r600/eg_hw_states.c @@ -164,7 +164,7 @@ static void eg_db(struct r600_context *rctx, struct radeon_state *rstate, return; rtex = (struct r600_resource_texture*)state->zsbuf->texture; - rtex->tilled = 1; + rtex->tiled = 1; rtex->array_mode = 2; rtex->tile_type = 1; rtex->depth = 1; @@ -1107,7 +1107,7 @@ static void eg_texture_state_db(struct r600_screen *rscreen, struct r600_resourc radeon_state_init(rstate, rscreen->rw, R600_STATE_DB, 0, 0); rbuffer = &rtexture->resource; - rtexture->tilled = 1; + rtexture->tiled = 1; rtexture->array_mode = 2; rtexture->tile_type = 1; rtexture->depth = 1; diff --git a/src/gallium/drivers/r600/r600_hw_states.c b/src/gallium/drivers/r600/r600_hw_states.c index 271bd1ac506..13abd172d60 100644 --- a/src/gallium/drivers/r600/r600_hw_states.c +++ b/src/gallium/drivers/r600/r600_hw_states.c @@ -165,7 +165,7 @@ static void r600_db(struct r600_context *rctx, struct radeon_state *rstate, return; rtex = (struct r600_resource_texture*)state->zsbuf->texture; - rtex->tilled = 1; + rtex->tiled = 1; rtex->array_mode = 2; rtex->tile_type = 1; rtex->depth = 1; @@ -1178,7 +1178,7 @@ static void r600_texture_state_db(struct r600_screen *rscreen, struct r600_resou radeon_state_init(rstate, rscreen->rw, R600_STATE_DB, 0, 0); rbuffer = &rtexture->resource; - rtexture->tilled = 1; + rtexture->tiled = 1; rtexture->array_mode = 2; rtexture->tile_type = 1; rtexture->depth = 1; diff --git a/src/gallium/drivers/r600/r600_resource.h b/src/gallium/drivers/r600/r600_resource.h index cd1c31e82d0..5d569106451 100644 --- a/src/gallium/drivers/r600/r600_resource.h +++ b/src/gallium/drivers/r600/r600_resource.h @@ -50,7 +50,7 @@ struct r600_resource_texture { unsigned long pitch_override; unsigned long bpt; unsigned long size; - unsigned tilled; + unsigned tiled; unsigned array_mode; unsigned tile_type; unsigned depth; diff --git a/src/gallium/drivers/r600/r600_state2.c b/src/gallium/drivers/r600/r600_state2.c index 0343704a90c..b93bdd3022b 100644 --- a/src/gallium/drivers/r600/r600_state2.c +++ b/src/gallium/drivers/r600/r600_state2.c @@ -1563,7 +1563,7 @@ static void r600_db(struct r600_pipe_context *rctx, struct r600_pipe_state *rsta return; rtex = (struct r600_resource_texture*)state->zsbuf->texture; - rtex->tilled = 1; + rtex->tiled = 1; rtex->array_mode = 2; rtex->tile_type = 1; rtex->depth = 1; diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index f60fe9f3169..4aabae1fae0 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -267,7 +267,7 @@ struct pipe_transfer* r600_texture_get_transfer(struct pipe_context *ctx, trans->transfer.box = *box; trans->transfer.stride = rtex->pitch[sr.level]; trans->offset = r600_texture_get_offset(rtex, sr.level, box->z, sr.face); - if (rtex->tilled && !rtex->depth) { + if (rtex->tiled && !rtex->depth) { resource.target = PIPE_TEXTURE_2D; resource.format = texture->format; resource.width0 = box->width;