From: Chad Versace Date: Tue, 5 Jan 2016 17:53:11 +0000 (-0800) Subject: isl: Remove isl_format_layout::bpb X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98af1cc6d7b9cd087cf70135b0f18a8a61160b88;p=mesa.git isl: Remove isl_format_layout::bpb struct isl_format_layout contained two near-redundant members: bpb (bits per block) and bs (block size). There do exist some hardware formats for which bpb != 8 * bs, but Vulkan does not use them. Therefore we don't need bpb. --- diff --git a/src/isl/isl.h b/src/isl/isl.h index 0faf671af2b..8dbacb6d4e8 100644 --- a/src/isl/isl.h +++ b/src/isl/isl.h @@ -643,7 +643,6 @@ struct isl_channel_layout { struct isl_format_layout { enum isl_format format; - uint16_t bpb; /**< Bits per block */ uint8_t bs; /**< Block size, in bytes, rounded towards 0 */ uint8_t bw; /**< Block width, in pixels */ uint8_t bh; /**< Block height, in pixels */ diff --git a/src/isl/isl_format_layout_gen.bash b/src/isl/isl_format_layout_gen.bash index 2511f299a7e..db883827376 100755 --- a/src/isl/isl_format_layout_gen.bash +++ b/src/isl/isl_format_layout_gen.bash @@ -99,7 +99,7 @@ do cat <