[Mesa-dev] [PATCH 06/11] intel/isl: Don't check array pitch for gen4 3D textures

Jason Ekstrand jason at jlekstrand.net
Wed May 31 00:55:15 UTC 2017


Array pitch doesn't matter in this layout.
---
 src/intel/isl/tests/isl_surf_get_image_offset_test.c | 1 -
 1 file changed, 1 deletion(-)

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 1b3dc58..05fd79f 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));
 
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list