summaryrefslogtreecommitdiffstats
path: root/src/intel/isl
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-05-30 08:45:36 -0700
committerJason Ekstrand <[email protected]>2017-06-01 15:33:43 -0700
commit918f41bb2968da20f756900181f0aa2c59edc99c (patch)
tree524e28b06cf1036385edaaa4ff4b6c99d377f634 /src/intel/isl
parent044bfb292fbeae98c0256bf995ce7afac5102c53 (diff)
intel/isl: Don't check array pitch for gen4 3D textures
Array pitch doesn't matter in this layout. Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/isl')
-rw-r--r--src/intel/isl/tests/isl_surf_get_image_offset_test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/intel/isl/tests/isl_surf_get_image_offset_test.c b/src/intel/isl/tests/isl_surf_get_image_offset_test.c
index 1b3dc58b002..05fd79f3a94 100644
--- a/src/intel/isl/tests/isl_surf_get_image_offset_test.c
+++ b/src/intel/isl/tests/isl_surf_get_image_offset_test.c
@@ -256,7 +256,6 @@ test_bdw_3d_r8g8b8a8_unorm_256x256x256_levels09_tiley0(void)
t_assert_image_alignment_el(&surf, 4, 4, 1);
t_assert_image_alignment_sa(&surf, 4, 4, 1);
- t_assert(isl_surf_get_array_pitch_el_rows(&surf) == 74916);
t_assert(isl_surf_get_array_pitch_sa_rows(&surf) ==
isl_surf_get_array_pitch_el_rows(&surf));