[all-commits] [llvm/llvm-project] 1a0de9: [HLSL] Constant buffer layout struct update (#124840)
Helena Kotas via All-commits
all-commits at lists.llvm.org
Mon Feb 10 21:19:34 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1a0de96c95feaffb3c05159305edce8c7c47057f
https://github.com/llvm/llvm-project/commit/1a0de96c95feaffb3c05159305edce8c7c47057f
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-02-10 (Mon, 10 Feb 2025)
Changed paths:
M clang/lib/Sema/SemaHLSL.cpp
M clang/test/AST/HLSL/ast-dump-comment-cbuffer.hlsl
M clang/test/AST/HLSL/cbuffer.hlsl
M clang/test/AST/HLSL/cbuffer_and_namespaces.hlsl
M clang/test/AST/HLSL/pch_hlsl_buffer.hlsl
Log Message:
-----------
[HLSL] Constant buffer layout struct update (#124840)
Updates layout struct to be `struct` with public fields instead of
`class` with private fields and chang the name prefix to `__cblayout_`.
Also adds Packed attribute to prevent struct padding and filters
additional types from the layout that were missed previously (arrays of
resources and groupshared declarations).
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