mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 17:30:20 +01:00
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> |
||
|---|---|---|
| .. | ||
| blorp | ||
| ci | ||
| common | ||
| compiler | ||
| dev | ||
| ds | ||
| genxml | ||
| isl | ||
| nullhw-layer | ||
| perf | ||
| tools | ||
| vulkan | ||
| vulkan_hasvk | ||
| meson.build | ||