diff options
Diffstat (limited to 'tests/metal')
| -rw-r--r-- | tests/metal/texture-sampler-less.slang | 8 | ||||
| -rw-r--r-- | tests/metal/texture.slang | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/metal/texture-sampler-less.slang b/tests/metal/texture-sampler-less.slang index 70b805ce7..188b15469 100644 --- a/tests/metal/texture-sampler-less.slang +++ b/tests/metal/texture-sampler-less.slang @@ -30,7 +30,7 @@ SamplerCubeArray<float> tCubeArray; // Metal doc says "For depth texture types, T must be float." __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depth2d = __TextureImpl< +typealias depth2d = _Texture< T, __Shape2D, 0, // isArray @@ -43,7 +43,7 @@ typealias depth2d = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depth2d_array = __TextureImpl< +typealias depth2d_array = _Texture< T, __Shape2D, 1, // isArray @@ -56,7 +56,7 @@ typealias depth2d_array = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depthcube = __TextureImpl< +typealias depthcube = _Texture< T, __ShapeCube, 0, // isArray @@ -69,7 +69,7 @@ typealias depthcube = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depthcube_array = __TextureImpl< +typealias depthcube_array = _Texture< T, __ShapeCube, 1, // isArray diff --git a/tests/metal/texture.slang b/tests/metal/texture.slang index a083f2ff5..37c8fa286 100644 --- a/tests/metal/texture.slang +++ b/tests/metal/texture.slang @@ -122,7 +122,7 @@ TextureCubeArray<uint16_t4> tCubeArray_u16; // Metal doc says "For depth texture types, T must be float." __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depth2d = __TextureImpl< +typealias depth2d = _Texture< T, __Shape2D, 0, // isArray @@ -135,7 +135,7 @@ typealias depth2d = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depth2d_array = __TextureImpl< +typealias depth2d_array = _Texture< T, __Shape2D, 1, // isArray @@ -148,7 +148,7 @@ typealias depth2d_array = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depthcube = __TextureImpl< +typealias depthcube = _Texture< T, __ShapeCube, 0, // isArray @@ -161,7 +161,7 @@ typealias depthcube = __TextureImpl< >; __generic<T : __BuiltinType, let sampleCount:int=0, let format:int=0> -typealias depthcube_array = __TextureImpl< +typealias depthcube_array = _Texture< T, __ShapeCube, 1, // isArray |
