[all-commits] [llvm/llvm-project] adb2bf: [HLSL] Add CalculateLevelOfDetail methods to Textu...

Steven Perron via All-commits all-commits at lists.llvm.org
Wed Mar 25 12:29:26 PDT 2026


  Branch: refs/heads/users/s-perron/texture-2d-calculate-level-of-detail-clang
  Home:   https://github.com/llvm/llvm-project
  Commit: adb2bf789c237512b1acc85af3106fa64caf0019
      https://github.com/llvm/llvm-project/commit/adb2bf789c237512b1acc85af3106fa64caf0019
  Author: Steven Perron <stevenperron at google.com>
  Date:   2026-03-25 (Wed, 25 Mar 2026)

  Changed paths:
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/CodeGen/CGHLSLBuiltins.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
    M clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.h
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/AST/HLSL/Texture2D-scalar-AST.hlsl
    M clang/test/AST/HLSL/Texture2D-vector-AST.hlsl
    A clang/test/CodeGenHLSL/resources/Texture2D-CalculateLevelOfDetail.hlsl
    A clang/test/SemaHLSL/Resources/Texture2D-CalculateLevelOfDetail.hlsl
    M llvm/include/llvm/IR/IntrinsicsDirectX.td
    M llvm/test/CodeGen/SPIRV/hlsl-resources/CalculateLevelOfDetail.ll

  Log Message:
  -----------
  [HLSL] Add CalculateLevelOfDetail methods to Texture2D

This adds the CalculateLevelOfDetail and CalculateLevelOfDetailUnclamped
methods to Texture2D using the establish pattern used for other methods.

Assisted-by: Gemini



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