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

Steven Perron via All-commits all-commits at lists.llvm.org
Wed Apr 1 06:25:13 PDT 2026


  Branch: refs/heads/users/s-perron/texture2d-get-dimension
  Home:   https://github.com/llvm/llvm-project
  Commit: 439b45fdf29e3b2c79651c78ae874ff63bf2391e
      https://github.com/llvm/llvm-project/commit/439b45fdf29e3b2c79651c78ae874ff63bf2391e
  Author: Steven Perron <stevenperron at google.com>
  Date:   2026-04-01 (Wed, 01 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
    A llvm/test/CodeGen/SPIRV/hlsl-resources/GetDimensionsFloat.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