summaryrefslogtreecommitdiffstats
path: root/src/isl
Commit message (Collapse)AuthorAgeFilesLines
* isl: Add func isl_surf_get_image_offset_saChad Versace2015-12-155-2/+357
| | | | | | | | The function calculates the offset to a subimage within the surface, in units of surface samples. All unit tests pass with `make check`. (Admittedly, though, there are too few unit tests).
* isl: Fix calculation of array pitch for layout GEN4_2DChad Versace2015-12-151-0/+1
| | | | | | | The height of the miptree's right half was not large enough. Found by `make check` in test_isl_surf_get_offset, which is added in the next commit.
* isl: Move it a standalone directoryChad Versace2015-12-1518-0/+3998
The plan all along was to eventualyl move isl out of the Vulkan directory, because I intended i965 and anvil to share it. A small problem I encountered when attempting to write unit tests for isl precipitated the move. I discovered that it's easier to get isl unit tests to build if I remove the extra, unneeded dependencies injected by src/vulkan/Makefile.am. And the easiest way to remove those unneeded dependencies is to move isl out of src/vulkan. (Unit tests come in subsequent commits).