Skip to content

[DirectX] convert vector to array for groupshared #92153

@python3kgae

Description

@python3kgae

DXIL requires vector to be removed
https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst#vectors

Normally, vectors are removed by the scalarizer.
However, for groupshared memory, keeping elements of vector next to each other helps maintain the layout so that the data can be loaded/stored in a continuous address.
This will be done by convert vector into array.

AC:
A pass to convert vector into array.
Test.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions