[all-commits] [llvm/llvm-project] 5df1b7: [HLSL] Add `[[hlsl::raw_buffer]]` attribute (#107954)
Helena Kotas via All-commits
all-commits at lists.llvm.org
Mon Sep 16 19:35:45 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5df1b79372a89648cdb4ab798f1c74985e00ac6e
https://github.com/llvm/llvm-project/commit/5df1b79372a89648cdb4ab798f1c74985e00ac6e
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M clang/include/clang/AST/Type.h
M clang/include/clang/AST/TypeProperties.td
M clang/include/clang/Basic/Attr.td
M clang/lib/AST/ASTStructuralEquivalence.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Sema/HLSLExternalSemaSource.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/AST/HLSL/StructuredBuffer-AST.hlsl
A clang/test/ParserHLSL/hlsl_raw_buffer_attr.hlsl
A clang/test/ParserHLSL/hlsl_raw_buffer_attr_error.hlsl
Log Message:
-----------
[HLSL] Add `[[hlsl::raw_buffer]]` attribute (#107954)
This PR introduces new HLSL resource type attribute
`[[hlsl::raw_buffer]]`. Presence of this attribute on a resource handle
means that the resource does not require typed element access. The
attribute will be used on resource handles that represent buffers like
`StructuredBuffer` or `ByteAddressBuffer` and in DXIL it will be
translated to target extension type `dx.RawBuffer`.
Fixes #107907
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