logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mix - Linear blend of x and y.

Authors

TheKhronosGroup

Description

       Returns the linear blend of x and y implemented as: x + (y - x) * aa must be a value in the range 0.0 ... 1.0. If a is not in the range 0.0 ... 1.0, the return values are
       undefined.

Name

       mix - Linear blend of x and y.

       gentypemix(gentypex,gentypey,gentypea);gentypefmix(gentypefx,gentypefy,floata);gentypedmix(gentypedx,gentypedy,doublea);gentypemix (gentypex, gentypey, halfa)      // if
       half extension enabled

Notes

        1. OpenCL Specification
           page 260, section 6.12.4 - Common Functions

The Khronos Group                                  11/18/2024                                          MIX(3clc)

See Also

commonFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also