[all-commits] [llvm/llvm-project] 156762: [SPIRV] Implement spv_resource_getbasepointer for ...
Steven Perron via All-commits
all-commits at lists.llvm.org
Wed May 6 09:33:27 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1567629934aec8df3a0c6b543a1edcaad93e5424
https://github.com/llvm/llvm-project/commit/1567629934aec8df3a0c6b543a1edcaad93e5424
Author: Steven Perron <stevenperron at google.com>
Date: 2026-05-06 (Wed, 06 May 2026)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
A llvm/test/CodeGen/SPIRV/hlsl-resources/getbasepointer.ll
Log Message:
-----------
[SPIRV] Implement spv_resource_getbasepointer for Vulkan buffers (#195152)
The new intrinsic spv_resource_getbasepointer allows retrieving the base
pointer of a resource without an index. This is necessary for resources
like ConstantBuffer<T> where you can access the top level struct of type
T.
Assisted-by: Gemini
<!-- branch-stack-start -->
-------------------------
- main
- https://github.com/llvm/llvm-project/pull/195151
- https://github.com/llvm/llvm-project/pull/195152 :point_left:
- https://github.com/llvm/llvm-project/pull/195153
- https://github.com/llvm/llvm-project/pull/195154
<sup>[Stack](https://www.git-town.com/how-to/proposal-breadcrumb.html)
generated by [Git Town](https://github.com/git-town/git-town)</sup>
<!-- branch-stack-end -->
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