[all-commits] [llvm/llvm-project] ae6b4b: [HLSL] Overloads for `lerp` with a scalar weight (...

Justin Bogner via All-commits all-commits at lists.llvm.org
Wed Apr 30 12:30:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae6b4b23ea4291e937192a3c08d0f3c9835864c2
      https://github.com/llvm/llvm-project/commit/ae6b4b23ea4291e937192a3c08d0f3c9835864c2
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M clang/lib/Headers/hlsl/hlsl_compat_overloads.h
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/CodeGenHLSL/builtins/lerp-overloads.hlsl
    M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl

  Log Message:
  -----------
  [HLSL] Overloads for `lerp` with a scalar weight (#137877)

This adds overloads for the `lerp` function that accept a scalar for the
weight parameter by splatting it into the appropriate vector.

Fixes #137827



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list