Skip to content

Implement LinAlg Validation Rules #7840

Description

@V-FEXrt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions