[all-commits] [llvm/llvm-project] 62f911: [SPIR-V] Add capability for non-uniform indexing f...

Lucie Choi via All-commits all-commits at lists.llvm.org
Fri Oct 17 14:17:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62f91152fbb3b0a0f581e18a923ee0aec3f77ebd
      https://github.com/llvm/llvm-project/commit/62f91152fbb3b0a0f581e18a923ee0aec3f77ebd
  Author: Lucie Choi <ychoi0407 at gmail.com>
  Date:   2025-10-17 (Fri, 17 Oct 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
    A llvm/test/CodeGen/SPIRV/hlsl-resources/DynamicIdx/RWBufferDynamicIdx.ll
    A llvm/test/CodeGen/SPIRV/hlsl-resources/DynamicIdx/RWStructuredBufferDynamicIdx.ll
    A llvm/test/CodeGen/SPIRV/hlsl-resources/NonUniformIdx/RWBufferNonUniformIdx.ll
    M llvm/test/CodeGen/SPIRV/hlsl-resources/NonUniformIdx/RWStructuredBufferNonUniformIdx.ll
    R llvm/test/CodeGen/SPIRV/hlsl-resources/NonUniformIdx/StructuredBufferNonUniformIdx.ll
    A llvm/test/CodeGen/SPIRV/hlsl-resources/StorageImageConstIdx.ll
    R llvm/test/CodeGen/SPIRV/hlsl-resources/StorageImageDynIdx.ll

  Log Message:
  -----------
  [SPIR-V] Add capability for non-uniform indexing for  `StructuredBuffer` types. (#163424)

- Capability `StorageBufferArrayNonUniformIndexing` is required if the
non-uniform index accesses "arrays in the StorageBuffer [storage
class](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#Storage_Class)
or
BufferBlock-[decorated](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#Decoration)
arrays." (e.g. `RWStructuredBuffer`, `StructuredBuffer`)

- Also fix the wrong unit test name: `StructuredBufferNonUniformIdx.ll`
-> `RWBufferNonUniformIdx.ll`

Resolves https://github.com/llvm/llvm-project/issues/162889
Addresses https://github.com/llvm/llvm-project/issues/161852



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