Skip to content

[0035] Ambiguity in linalg matrix coordinates #859

@jenatali

Description

@jenatali

Which document does this relate to?
https://github.com/microsoft/hlsl-specs/blob/main/proposals/0035-linalg-matrix.md

Describe the issue you see with the spec
For Matrix::GetCoordinate, the wording is just "Converts a specified index into row and column coordinates." This is somewhat ambiguous. Since matrices are typically MxN (Rows by Columns), while a float2 return would have .xy components, one could interpret the return value as .xy = x and y coordinates, i.e. column then row, or one could interpret the return value as .xy = row then column.

See microsoft/DirectXShaderCompiler#8387 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions