Skip to content

[HLSL] Create __builtin_hlsl_is_typed_resource_element_compatible builtin #113223

@bob80905

Description

@bob80905

According to the spec on resource element type validation, a new builtin needs to be added, __builtin_hlsl_is_typed_resource_element_compatible. This will be used as part of the constraint expression that is evaluated by the concept applied to resources like RWBuffer. The builtin is also described in the spec.
llvm/wg-hlsl#69

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