Skip to content

[HLSL] Copy in/copy out parameter passing #87526

@llvm-beanz

Description

@llvm-beanz

Description

In HLSL parameter passing is copy-in/copy-out as specified by the in, inout and out parameter modifier keywords.

A proposal for how this will be implemented is documented in the Clang HLSL docs.

Deliverable

A full implementation of the solution in the document above and any required updates to the document.

Acceptance Criteria

  • Documentation reflects the implementation
  • Implementation is fully tested with codegen tests for DXIL and SPIR-V code generation.

Metadata

Metadata

Assignees

Labels

HLSLHLSL Language Supportclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions