Skip to content

Implement LinAlg Validation Rules #7840

Closed
29 of 29 issues completed
Closed

Description

The children issues are sourced from the spec, however there are likely more validation rules that should be added.

The children issues of this one specifically focus on DXIL validation. Because of this rules should be implemented in lib/DxilValidation/DxilValidation.cpp with tests written in tools/clang/test/LitDXILValidation/LinAlgMatrix/. #8588 is a (larger) example of what this looks like

For all the children issues covering a builtin there are common validation that should be ran such as

  • Are the dims acceptable for the operation
  • Is the matrix use, scope, and component acceptable for the operation
    It's not needed to check if the operation is allowed in the shader type as that verified elsewhere

Activity

  1. changed the title [-]Update DXIL Validator for linalg spec[/-] [+]Update DXIL Validator for Linear Algebra[/+] on Oct 24, 2025
  2. changed the title [-]Update DXIL Validator for Linear Algebra[/-] [+]Implement LinAlg Validation Rules[/+] on May 28, 2026
  3. 14 remaining items

  4. moved this from Planning to Closed in HLSL Supporton Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions