r600g: fix typo in struct member name
This commit is contained in:
parent
ca35292a44
commit
6e901e330a
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue