Browse Source

Remove hotpath attr

js/color-alpha-handling
James Jackson-South 5 years ago
parent
commit
d4e0bdd7b7
  1. 4
      src/ImageSharp/Common/Helpers/Vector4Utilities.cs

4
src/ImageSharp/Common/Helpers/Vector4Utilities.cs

@ -61,7 +61,7 @@ namespace SixLabors.ImageSharp
/// Bulk variant of <see cref="Premultiply(ref Vector4)"/>
/// </summary>
/// <param name="vectors">The span of vectors</param>
[MethodImpl(InliningOptions.HotPath | InliningOptions.ShortMethod)]
[MethodImpl(InliningOptions.ShortMethod)]
public static void Premultiply(Span<Vector4> vectors)
{
#if SUPPORTS_RUNTIME_INTRINSICS
@ -107,7 +107,7 @@ namespace SixLabors.ImageSharp
/// Bulk variant of <see cref="UnPremultiply(ref Vector4)"/>
/// </summary>
/// <param name="vectors">The span of vectors</param>
[MethodImpl(InliningOptions.HotPath | InliningOptions.ShortMethod)]
[MethodImpl(InliningOptions.ShortMethod)]
public static void UnPremultiply(Span<Vector4> vectors)
{
#if SUPPORTS_RUNTIME_INTRINSICS

Loading…
Cancel
Save