[all-commits] [llvm/llvm-project] 63c465: [HLSL] Constant buffer layout struct update
Helena Kotas via All-commits
all-commits at lists.llvm.org
Tue Jan 28 14:07:23 PST 2025
Branch: refs/heads/users/hekotas/pr-24840
Home: https://github.com/llvm/llvm-project
Commit: 63c465b40512ad4c5fff84c0b2b022b49d46eaa7
https://github.com/llvm/llvm-project/commit/63c465b40512ad4c5fff84c0b2b022b49d46eaa7
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2025-01-28 (Tue, 28 Jan 2025)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
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
- create structs with public fields instead of classes with private fields
- add Packed attribute to prevent struct padding
- use __cblayout_ prefix in name
- filter out arrays of resources (bug fix)
- don't create implicit initializer for constant buffer decls
- update tests
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