[clang] [HLSL] Codegen for `cbuffer` blocks without embedded arrays or structs (PR #119755)
Helena Kotas via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 12 12:24:12 PST 2024
================
@@ -164,18 +164,18 @@ Decl *SemaHLSL::ActOnStartBuffer(Scope *BufferScope, bool CBuffer,
return Result;
}
-// Calculate the size of a legacy cbuffer type based on
+// Calculate the size of a legacy cbuffer type in bytes based on
----------------
hekota wrote:
Cbuffer & packoffset layout calculations have been using 3 different units - bits, bytes, and 4-byte chunks. I am changing all to use bytes.
https://github.com/llvm/llvm-project/pull/119755
More information about the cfe-commits
mailing list