[all-commits] [llvm/llvm-project] 274637: [HLSL] Implement `Append` and `Consume` methods on...

Helena Kotas via All-commits all-commits at lists.llvm.org
Mon Dec 9 15:15:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 274637d7e5960e37a33f29521905eef3d0fee13d
      https://github.com/llvm/llvm-project/commit/274637d7e5960e37a33f29521905eef3d0fee13d
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    M clang/test/AST/HLSL/StructuredBuffers-AST.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffers-methods-lib.hlsl

  Log Message:
  -----------
  [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



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