From 98af1cc6d7b9cd087cf70135b0f18a8a61160b88 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Tue, 5 Jan 2016 09:53:11 -0800 Subject: [PATCH] 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. --- src/isl/isl.h | 1 - src/isl/isl_format_layout_gen.bash | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 <