projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf9ff08
)
isl: Use bpb for determining YUV image padding
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 12 Jul 2016 21:17:18 +0000
(14:17 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 13 Jul 2016 18:47:37 +0000
(11:47 -0700)
When we initially dropped bpb in favor of bs, we accidentally didn't change
this one line properly. This brings it back to what it should be.
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/intel/isl/isl.c
patch
|
blob
|
history
diff --git
a/src/intel/isl/isl.c
b/src/intel/isl/isl.c
index 4205c1c03a4649aa1107bfe1be0d0cf22aa0a624..29b33d92b117f20b64d6810cc370a8301a1aabaf 100644
(file)
--- a/
src/intel/isl/isl.c
+++ b/
src/intel/isl/isl.c
@@
-996,7
+996,7
@@
isl_apply_surface_padding(const struct isl_device *dev,
* padding requirements.
*/
if (isl_format_is_yuv(info->format) &&
- (fmtl->b
s == 96 || fmtl->bs == 48|| fmtl->bs
== 24)) {
+ (fmtl->b
pb == 96 || fmtl->bpb == 48|| fmtl->bpb
== 24)) {
*total_h_el += 1;
*pad_bytes += 16;
}