[HLSL] Use memcpy for HLSL buffer copies that don't have padding
Open
HLSL
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
For cbuffers that have something like an array of `uint4`, there is no padding between the elements at all. We should just use memcpy when copying these rather than breaking the accesses up element by element.
Contributor guide
Assessment
This issue has not been assessed yet.