diff options
author | Marek Olšák <[email protected]> | 2015-11-21 23:46:01 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-12-03 23:41:23 +0100 |
commit | 84fbb0aff98d6e90e4759bbe701c9484e569c869 (patch) | |
tree | 48fc413a1172110847dd49eac5d72022c7107fd0 /src/gallium/drivers/radeonsi | |
parent | 19eaceb6edc6cd3a9ae878c89f9deb79afae4dd6 (diff) |
gallium/radeon: rename fmask::pitch -> pitch_in_pixels
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 209b940aa11..5b71389c6aa 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -1912,7 +1912,7 @@ static void si_initialize_color_surface(struct si_context *sctx, color_attrib |= S_028C74_FMASK_BANK_HEIGHT(fmask_bankh); } if (sctx->b.chip_class >= CIK) { - color_pitch |= S_028C64_FMASK_TILE_MAX(rtex->fmask.pitch / 8 - 1); + color_pitch |= S_028C64_FMASK_TILE_MAX(rtex->fmask.pitch_in_pixels / 8 - 1); } } } @@ -2701,7 +2701,7 @@ si_create_sampler_view_custom(struct pipe_context *ctx, S_008F1C_TYPE(si_tex_dim(texture->target, state->target, 0)); view->fmask_state[4] = S_008F20_DEPTH(depth - 1) | - S_008F20_PITCH(tmp->fmask.pitch - 1); + S_008F20_PITCH(tmp->fmask.pitch_in_pixels - 1); view->fmask_state[5] = S_008F24_BASE_ARRAY(state->u.tex.first_layer) | S_008F24_LAST_ARRAY(last_layer); view->fmask_state[6] = 0; |