Skip to content

[HLSL][Matrix] Constrain matrix_type sizes using concepts #116710

@pow2clk

Description

@pow2clk

HLSL matrices are limited to a maximum size of 4 in either dimension while the matrix extension allows for much larger sizes. Using concepts in the template declarations of the matrices similar to how resource types are being constrained in #116413 allows a language-specific limitation with friendly diagnostics.

Metadata

Metadata

Assignees

Labels

HLSLHLSL Language Supportclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzer

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions