Skip to content

[HLSL] Validate register binding type match the decl type #57886

Closed
@python3kgae

Description

@python3kgae

Report error for case like RWBuffer Uav : register(t3, space1);
The register should be u3 for Uav.

AC:
Error and diagnose if you try to bind a resource to an incompatible register space
Add something to classify the resource types

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