Texture serialization + unit tests
s1ddok
released this
04 Sep 13:20
Texture Caching Unit Tests (#37)
* add macroses to alloy
* add EuclideanDistanceEncoder
* extend num of arguments in texture(from image: )
* add PixelFormatScalarTypes
* add test images
* add macroses to test shaders
* add SwitchDataFormatEncoder
* add MTLPixelFormat extensions
* add MTLTexture extensions
* move shaders to folder
* fix tests
* add TextureCachingTests
* replace PixelFormatScalarType with MTLPixelFormat.ScalarType
* replace getLevel(: ) with view(level: )
* add TextureAddConstantEncoder
* add EuclideanDistanceTests
* add sources to project
* style
* style fix in TextureAddConstantEncoder
* style fix in EuclideanDistanceEncoder
* replace metalContext with context
* fix style in SwitchDataFormatEncoder
* move tests to separate sources
* add sources to project
* use Alloy's Definitions