diff options
author | Marek Olšák <[email protected]> | 2019-05-24 19:56:17 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-06-24 21:04:10 -0400 |
commit | aa8d6e05074449719f218618f2cf7dd1b5ed8968 (patch) | |
tree | 593aec7c73a718eaeca4ae66b1c44ab848444ac1 /src/gallium/drivers/radeonsi/si_texture.c | |
parent | f46efacd01c8f503b239dd16122ec6de5a684877 (diff) |
radeonsi: fix AMD_DEBUG=nofmask
Tested-by: Dieter Nützel <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_texture.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_texture.c b/src/gallium/drivers/radeonsi/si_texture.c index 27c977ac7d9..dd383635675 100644 --- a/src/gallium/drivers/radeonsi/si_texture.c +++ b/src/gallium/drivers/radeonsi/si_texture.c @@ -1076,7 +1076,7 @@ void si_print_texture_info(struct si_screen *sscreen, tex->surface.u.gfx9.surf.epitch, tex->surface.u.gfx9.surf_pitch); - if (tex->surface.fmask_size) { + if (tex->fmask_offset) { u_log_printf(log, " FMASK: offset=%"PRIu64", size=%"PRIu64", " "alignment=%u, swmode=%u, epitch=%u\n", tex->fmask_offset, @@ -1131,7 +1131,7 @@ void si_print_texture_info(struct si_screen *sscreen, tex->surface.u.legacy.tile_split, tex->surface.u.legacy.pipe_config, (tex->surface.flags & RADEON_SURF_SCANOUT) != 0); - if (tex->surface.fmask_size) + if (tex->fmask_offset) u_log_printf(log, " FMask: offset=%"PRIu64", size=%"PRIu64", alignment=%u, pitch_in_pixels=%u, " "bankh=%u, slice_tile_max=%u, tile_mode_index=%u\n", tex->fmask_offset, tex->surface.fmask_size, tex->surface.fmask_alignment, |