mesa/src/intel
Aditya Swarup d16eac17d8 intel/isl: Unittest for linear to Ytile conversion
Add unittests for linear to tiled and tiled to linear texture
conversions for Ytile. The test prints the source/output buffer
in hex format with debug flags to verify the result.

Linear to tile conversion fills the linear buffer with values
based on the OWORD index number i.e., OWORD3 will contain
all values filled as 0x03 and
OWORD3 = 0x03030303030303030303030303030303.

The Y-tile to Linear tile conversion uses a similar logic to place
the tiled values in a manner that will result in a linear buffer with
OWORDs filled according to index number as mentioned above.

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>
2023-09-02 21:49:03 -07:00
..
blorp blorp: drop undefined macro 2023-09-03 03:04:26 +00:00
ci ci: Disable WHL jobs 2023-09-02 15:43:01 -04:00
common intel/aux_map: correctly program tiling mode for Ys 2023-09-01 23:22:18 +00:00
compiler intel: Allow using intel_clc from the system 2023-09-01 21:36:02 +00:00
dev intel: Add env variable to add break point on/before draw 2023-08-08 17:36:19 +00:00
ds intel/compiler,intel/blorp,intel/vulkan: decouple vulkan driver and compiler from gallium 2023-08-03 22:00:15 +00:00
genxml genxml/gfx12: rename Tiled Resource Mode 2023-09-01 23:22:17 +00:00
isl intel/isl: Unittest for linear to Ytile conversion 2023-09-02 21:49:03 -07:00
nullhw-layer vulkan/layers: Use PUBLIC instead of VK_LAYER_EXPORT 2023-02-17 03:42:34 +00:00
perf intel: Move i915_drm.h specific code from common/intel_gem.h to common/i915/intel_gem.h 2023-07-28 15:36:52 +00:00
tools intel/compiler,intel/blorp,intel/vulkan: decouple vulkan driver and compiler from gallium 2023-08-03 22:00:15 +00:00
vulkan anv: use the lineage number for WA 2023-09-03 03:04:26 +00:00
vulkan_hasvk treewide: Use nir_before/after_impl for more elaborate cases 2023-08-30 19:30:58 +00:00
meson.build intel: Only build perf if drivers or tools are enabled 2023-08-31 21:53:19 +00:00