Skip to content

SOA on dx backend currently not support "bool" #170

@sailing-innocent

Description

@sailing-innocent
Contributor

checkout latest commit “9cb18fcb4e03d40fdeea384257ba4017a1268745” on next branch

Run the test case "test_soa" with dx backend will cause hlsl compilation error

[2025-03-07 11:13:24.924] [console] [error] Compile Error: hlsl.hlsl:660:7: error: no matching function for call to 'asuint'
l214=(asuint(l213));
^~~~~~
hlsl.hlsl:660:7: note: candidate function not viable: no known conversion from 'vector<bool, 4>' to 'vector<float, 4>' for 1st argument
l214=(asuint(l213));
^ ~~~~

remove the bool element will fix.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sailing-innocent

        Issue actions

          SOA on dx backend currently not support "bool" · Issue #170 · LuisaGroup/LuisaCompute