Added missing normalized texture types

このコミットが含まれているのは:
Sergio Pedri committed 2021-01-04 23:39:12 +01:00
1 親 aaf8b5cac4
コミット b54fb3c7df
6ファイル変更
+187 -4

検索条件に一致するファイルはありません

+5 -2
ファイルの表示
@@ -77,7 +77,9 @@ namespace ComputeSharp.Shaders.Mappings
return
genericType == typeof(ReadOnlyBuffer<>) ||
genericType == typeof(ReadOnlyTexture2D<>) ||
genericType == typeof(ReadOnlyTexture3D<>);
genericType == typeof(ReadOnlyTexture2D<,>) ||
genericType == typeof(ReadOnlyTexture3D<>) ||
genericType == typeof(ReadOnlyTexture3D<,>);
}
/// <summary>
@@ -96,7 +98,8 @@ namespace ComputeSharp.Shaders.Mappings
genericType == typeof(ReadWriteBuffer<>) ||
genericType == typeof(ReadWriteTexture2D<>) ||
genericType == typeof(ReadWriteTexture2D<,>) ||
genericType == typeof(ReadWriteTexture3D<>);
genericType == typeof(ReadWriteTexture3D<>) ||
genericType == typeof(ReadWriteTexture3D<,>);
}
}
}