Skip to content

[SPIR-V] Add StorageBufferArrayNonUniformIndexing extension when accessing RWStructuredBuffer with a non-uniform index. #7814

@luciechoi

Description

@luciechoi

Description
Per SPIR-V Specification, StorageBufferArrayNonUniformIndexing extension needs to be added when accessing RWStructuredBuffer with a non-uniform index.

Steps to Reproduce
https://godbolt.org/z/s4PozjYY8

Actual Behavior
OpExtension StorageBufferArrayNonUniformIndexingEXT is missing.

Found while working on llvm/llvm-project#162540.

Metadata

Metadata

Assignees

Labels

bugBug, regression, crashspirvWork related to SPIR-V

Type

Projects

Status

New

Status

Triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions