intel/isl: Linear to Tile-4 conversion unittest
authorAditya Swarup <aditya.swarup@intel.com>
Mon, 18 Jul 2022 23:59:46 +0000 (16:59 -0700)
committerAditya Swarup <aditya.swarup@intel.com>
Sun, 3 Sep 2023 04:49:05 +0000 (21:49 -0700)
commita6c8ddb59659eafcc990db904e21181162e76be5
tree34f0209ed43ccf02f4451350c7ad0aeed1ac68e7
parent4f0d02902eb1c38d5a1f01004205f06308a11886
intel/isl: Linear to Tile-4 conversion unittest

Add unittest to test conversion of data from linear to
Tile-4 format based on bit swizzling conversion info
mentioned in Bspec.

Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13391>
src/intel/isl/tests/isl_tilememcpy_tiled_unittest.cpp