[all-commits] [llvm/llvm-project] b9dbcf: [SPIRV] Add get dimension intrinsics.

Steven Perron via All-commits all-commits at lists.llvm.org
Thu Apr 2 06:00:55 PDT 2026


  Branch: refs/heads/users/s-perron/texture2d-get-dimension
  Home:   https://github.com/llvm/llvm-project
  Commit: b9dbcfe4fd707774c615017fe032f21df52b4e7c
      https://github.com/llvm/llvm-project/commit/b9dbcfe4fd707774c615017fe032f21df52b4e7c
  Author: Steven Perron <stevenperron at google.com>
  Date:   2026-04-02 (Thu, 02 Apr 2026)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsSPIRV.td
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    A llvm/test/CodeGen/SPIRV/hlsl-resources/GetDimensions.ll

  Log Message:
  -----------
  [SPIRV] Add get dimension intrinsics.

Add the intrinsics in the wg-hlsl proposal
[[0033] - GetDimensions mapping to built-ins functions and LLVM intrinsics](https://github.com/llvm/wg-hlsl/blob/main/proposals/0033-resources-get-dimensions.md#lowering-to-spir-v)
to the SPIR-V backend. This enabled us to implement the GetDimensions methods
in textures in Clang.

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