From 20dd75a9268a1adf0a8b47267ba2c5acc55cb207 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 23 May 2018 22:42:49 -0400 Subject: radeonsi: use storage_samples instead of color_samples in most places MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and use pipe_resource::nr_storage_samples instead of r600_texture::num_color_samples. Tested-by: Dieter Nützel --- src/amd/common/ac_surface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amd/common/ac_surface.h') diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h index 6d95e610a59..8ba964e64ec 100644 --- a/src/amd/common/ac_surface.h +++ b/src/amd/common/ac_surface.h @@ -226,7 +226,7 @@ struct ac_surf_info { uint32_t height; uint32_t depth; uint8_t samples; /* For Z/S: samples; For color: FMASK coverage samples */ - uint8_t color_samples; /* For color: color samples */ + uint8_t storage_samples; /* For color: allocated samples */ uint8_t levels; uint8_t num_channels; /* heuristic for displayability */ uint16_t array_size; -- cgit v1.2.3