summaryrefslogtreecommitdiff
path: root/tests/metal/texture.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/metal/texture.slang')
-rw-r--r--tests/metal/texture.slang8
1 files changed, 4 insertions, 4 deletions
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