intel/isl: Don't check array pitch for gen4 3D textures
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 30 May 2017 15:45:36 +0000 (08:45 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 1 Jun 2017 22:33:43 +0000 (15:33 -0700)
Array pitch doesn't matter in this layout.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/isl/tests/isl_surf_get_image_offset_test.c

index 1b3dc58b002981d0fca43aeeb75b750514eb4efb..05fd79f3a9419496f1d839fba1406d4a34b43208 100644 (file)
@@ -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));