[HLSL][SPIRV] `llvm.spv.resource.getdimensions.x` lowering
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
SPIR-V backed needs to handle the ``llvm.spv.resource.getdimensions.x`` intrinsic that was added in https://github.com/llvm/llvm-project/pull/161753.
It is used by GetDimensions method on buffer resources (added in https://github.com/llvm/llvm-project/pull/161929).
Related proposal: https://github.com/llvm/wg-hlsl/blob/main/proposals/0033-resources-get-dimensions.md
Contributor guide
Research direction
Start by reading the SPIR-V backend's handling of the llvm.spv.resource.getdimensions.x intrinsic and the related resources-get-dimensions proposal. Compare the intrinsic's addition in PR 161753 with buffer-resource GetDimensions from PR 161929; done means SPIR-V-backed HLSL handles this lowering correctly.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100