Skip to content

SplitDouble producing transposed output in DXIL #8477

Open

Description

@joaosaffran

Description
DXIL lowering of splitdouble writes the output matrices in column-major flat order while consuming the input row-major, producing transposed low/high matrices.

Steps to Reproduce
https://hlsl.godbolt.org/z/rd18nG95x

Actual Behavior
https://hlsl.godbolt.org/z/rd18nG95x, line 40 of DXIL should be:

  call void @dx.op.rawBufferStore.i32(i32 140, %dx.types.Handle %Lows_UAV_structbuf, i32 0, i32 0, i32 %5, i32 %7, i32 %9, i32 %11, i8 15, i32 4), !dbg !119

Activity

  1. added
    bug
    needs-triage
    on May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triage

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions