diff options
author | Jason Ekstrand <[email protected]> | 2016-08-29 09:16:06 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-09-12 19:42:57 -0700 |
commit | 43d25edf78c3723ec76eb0704ed99f5345ef8d1e (patch) | |
tree | a5a18ee73ea202a5fcd3f80469423ed96d0134ed /src/intel/isl/isl.h | |
parent | 6da968b651f7c3f3475f68c80756adce441754e1 (diff) |
intel/isl: Fix an assert in get_intratile_offset_sa
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r-- | src/intel/isl/isl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index d8260b2a0c5..219dd90f910 100644 --- a/src/intel/isl/isl.h +++ b/src/intel/isl/isl.h @@ -1438,7 +1438,7 @@ isl_tiling_get_intratile_offset_sa(const struct isl_device *dev, * surfaces. */ assert(total_x_offset_sa % fmtl->bw == 0); - assert(total_y_offset_sa % fmtl->bw == 0); + assert(total_y_offset_sa % fmtl->bh == 0); const uint32_t total_x_offset = total_x_offset_sa / fmtl->bw; const uint32_t total_y_offset = total_y_offset_sa / fmtl->bh; |