[all-commits] [llvm/llvm-project] 6a01ac: [HLSL] Add concepts for Structured buffers (#119643)

Joshua Batista via All-commits all-commits at lists.llvm.org
Thu Dec 19 15:05:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a01ac7d06df875206f746fc982f58c161249285
      https://github.com/llvm/llvm-project/commit/6a01ac7d06df875206f746fc982f58c161249285
  Author: Joshua Batista <jbatista at microsoft.com>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    M clang/test/AST/HLSL/StructuredBuffers-AST.hlsl
    A clang/test/AST/HLSL/is_structured_resource_element_compatible_concept.hlsl
    M clang/test/SemaHLSL/BuiltIns/StructuredBuffers.hlsl

  Log Message:
  -----------
  [HLSL] Add concepts for Structured buffers (#119643)

This PR adds concept validation to structured buffers, in the same way
that it was done for typed buffers (like RWBuffer) in
https://github.com/llvm/llvm-project/pull/116413.
This PR should also be responsible for introducing rejection of 0 size
elements for structured buffers.
Fixes https://github.com/llvm/llvm-project/issues/117406



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