summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-07-08 21:55:34 -0700
committerJason Ekstrand <[email protected]>2016-07-13 11:47:37 -0700
commitcf9ff082b48779c52fa6b82dc4bb163303287772 (patch)
tree08e4b82faead3cb746adb47a63de018a2e501c93 /src/intel/isl/isl.h
parent0bd3a7e931b0cfd5aa81f37c43c330d6ae656a49 (diff)
isl: Bring back isl_format_layout::bpb
A while ago we got rid of the bits-per-block because we thought we didn't need it. We're about to introduce some very useful 1 and 2-bit formats so we really should be able to handle them again. Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r--src/intel/isl/isl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index f169fefd16e..f74c071705d 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -639,6 +639,7 @@ struct isl_format_layout {
enum isl_format format;
const char *name;
+ 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 */