docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method mm256_blend_ps

    mm256_blend_ps(v256, v256, int)

    Blend packed single-precision (32-bit) floating-point elements from a and b using control mask imm8, and store the results in dst.

    Declaration
    public static v256 mm256_blend_ps(v256 a, v256 b, int imm8)
    Parameters
    Type Name Description
    v256 a

    Vector a

    v256 b

    Vector b

    int imm8

    Control mask

    Returns
    Type Description
    v256

    Vector

    Remarks

    **** VBLENDPS ymm1, ymm2, ymm3/v256, imm8 Single precision floating point values from the second source operand are conditionally merged with values from the first source operand and written to the destination. The immediate bits [7:0] determine whether the corresponding single precision floating-point value in the destination is copied from the second source or first source. If a bit in the mask, corresponding to a word, is "1", then the single-precision floating-point value in the second source operand is copied, else the value in the first source operand is copied

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)