[all-commits] [llvm/llvm-project] d41333: [HLSL] Add Append/ConsumeStructuredBuffer definiti...

Helena Kotas via All-commits all-commits at lists.llvm.org
Fri Nov 8 17:39:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d413335ccf5cad3a8cb4ebce49a1d22daabbf3ad
      https://github.com/llvm/llvm-project/commit/d413335ccf5cad3a8cb4ebce49a1d22daabbf3ad
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2024-11-08 (Fri, 08 Nov 2024)

  Changed paths:
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    A clang/test/AST/HLSL/AppendStructuredBuffer-AST.hlsl
    A clang/test/AST/HLSL/ConsumeStructuredBuffer-AST.hlsl
    M clang/test/AST/HLSL/RWStructuredBuffer-AST.hlsl
    M clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
    A clang/test/CodeGenHLSL/builtins/AppendStructuredBuffer-elementtype.hlsl
    A clang/test/CodeGenHLSL/builtins/ConsumeStructuredBuffer-elementtype.hlsl
    M clang/test/CodeGenHLSL/builtins/StructuredBuffers-constructors.hlsl

  Log Message:
  -----------
  [HLSL] Add Append/ConsumeStructuredBuffer definitions to HLSLExternalSemaSource (#113643)

Adds `AppendStructuredBuffer` and `ConsumeStructuredBuffer` definition
to HLSLExternalSemaSource. Adds separate tests for the AST shape and
element types, and adds constructor/handle.fromBinding test case to
shared test file for structured buffers.

These buffers do not have any subscript operators. Append and Consume
methods will be added later in llvm/llvm-project#112968.

Fixes #112777



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