[all-commits] [llvm/llvm-project] 25227e: [HLSL] Add GetDimensions to Texture2D.

Steven Perron via All-commits all-commits at lists.llvm.org
Wed Apr 1 09:04:20 PDT 2026


  Branch: refs/heads/users/s-perron/texture2d-get-dimension-hlsl
  Home:   https://github.com/llvm/llvm-project
  Commit: 25227e8256957e09ec8c328bd2f7d02585b5eca6
      https://github.com/llvm/llvm-project/commit/25227e8256957e09ec8c328bd2f7d02585b5eca6
  Author: Steven Perron <stevenperron at google.com>
  Date:   2026-04-01 (Wed, 01 Apr 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/test/AST/HLSL/Texture2D-scalar-AST.hlsl
    M clang/test/AST/HLSL/Texture2D-vector-AST.hlsl
    M clang/test/CodeGenHLSL/resources/ByteAddressBuffers-methods.hlsl
    M clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-lib.hlsl
    M clang/test/CodeGenHLSL/resources/StructuredBuffers-methods-ps.hlsl
    A clang/test/CodeGenHLSL/resources/Texture2D-GetDimensions.hlsl
    M clang/test/CodeGenHLSL/resources/TypedBuffers-methods.hlsl
    A clang/test/SemaHLSL/Resources/Texture2D-GetDimensions.hlsl
    M llvm/include/llvm/IR/IntrinsicsDirectX.td

  Log Message:
  -----------
  [HLSL] Add GetDimensions to Texture2D.

This commit add the GetDimensions mehtods to Texture2D. For DXIL, it
requires intrinsics that are not yet available. They are added, but not
implemented.

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