Skip to content

[HLSL] Use memcpy for HLSL buffer copies that don't have padding #167546

@bogner

Description

@bogner

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.

Metadata

Metadata

Assignees

Labels

HLSLHLSL Language Support

Type

No type

Projects

Status

Active

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions