diff options
author | Helena Kotas <hekotas@microsoft.com> | 2024-12-09 15:15:37 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-09 15:15:37 -0800 |
commit | 274637d7e5960e37a33f29521905eef3d0fee13d (patch) | |
tree | 6f66196b4cd2039ac654e2a7d7be9a8c07234a23 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a0eb794da8b8c1e423e4b3100a137faf3844406f (diff) | |
download | llvm-274637d7e5960e37a33f29521905eef3d0fee13d.zip llvm-274637d7e5960e37a33f29521905eef3d0fee13d.tar.gz llvm-274637d7e5960e37a33f29521905eef3d0fee13d.tar.bz2 |
[HLSL] Implement `Append` and `Consume` methods on `Append`/`ConsumeStructuredBuffer` (#118536)
The methods are using existing clang builtins
`__builtin_hlsl_buffer_update_counter` and
`__builtin_hlsl_resource_getpointer` to update the buffer counter and
then load or store the value.
Fixes #112968
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions