summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl_gen6.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-07-08 22:10:11 -0700
committerJason Ekstrand <[email protected]>2016-07-13 11:47:37 -0700
commit01855d7331cd34633b8accc343ddf0a86a860c94 (patch)
treef2865bce7de37685500d7d7c0e638ec7432b12ad /src/intel/isl/isl_gen6.c
parent8c76b9bdce4c38ab7a600706c4e0151557d75fc5 (diff)
isl: Use bpb in a few places where it's more natural than bs
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_gen6.c')
-rw-r--r--src/intel/isl/isl_gen6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/isl/isl_gen6.c b/src/intel/isl/isl_gen6.c
index 24c393925ed..699aa41d7ba 100644
--- a/src/intel/isl/isl_gen6.c
+++ b/src/intel/isl/isl_gen6.c
@@ -51,7 +51,7 @@ gen6_choose_msaa_layout(const struct isl_device *dev,
* - any compressed texture format (BC*)
* - any YCRCB* format
*/
- if (fmtl->bs > 8)
+ if (fmtl->bpb > 64)
return false;
if (isl_format_is_compressed(info->format))
return false;