Skip to content

[HLSL] Implement resource constructor with implicit binding #136784

@hekota

Description

@hekota
  • Implement resource constructor for implicit binding as specified in resource-constructors proposal
  • Initialize resources without a register annotation (or with a space-only annotation) with a call to this constructor.
  • Translate __builtin_hlsl_create_handle_from_implicit_binding Clang buildins to {dx|spv}.resource.handlefromimplicitbinding according to the implicit resource binding proposal.

Metadata

Metadata

Assignees

Labels

HLSLHLSL Language Supportclang:codegenIR generation bugs: mangling, exceptions, etc.clang: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