summaryrefslogtreecommitdiffstats
path: root/src/isl/isl.c
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2016-01-07 11:07:44 -0800
committerChad Versace <[email protected]>2016-01-07 11:08:12 -0800
commita50c78a5cfb760f88b3d053efc4e58dca8d66ff5 (patch)
tree38d34d0189e1e03bc4c14f6b7fcb087195acb760 /src/isl/isl.c
parentd1e6c1b29bf45b807e298921e5b1386fec61669e (diff)
isl: Add missing break statement in array pitch calculation
Fixes regression in ed98c374bd3f1952fbab3031afaf5ff4d178ef41.
Diffstat (limited to 'src/isl/isl.c')
-rw-r--r--src/isl/isl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/isl/isl.c b/src/isl/isl.c
index 0e6f1e31d12..015b14ea3d2 100644
--- a/src/isl/isl.c
+++ b/src/isl/isl.c
@@ -734,6 +734,7 @@ isl_calc_array_pitch_el_rows(const struct isl_device *dev,
switch (array_pitch_span) {
case ISL_ARRAY_PITCH_SPAN_COMPACT:
pitch_sa_rows = isl_align_npot(phys_slice0_sa->h, image_align_sa->h);
+ break;
case ISL_ARRAY_PITCH_SPAN_FULL: {
/* The QPitch equation is found in the Broadwell PRM >> Volume 5:
* Memory Views >> Common Surface Formats >> Surface Layout >> 2D