Skip to content

Need tests for arrays of vectors #1202

@jenatali

Description

@jenatali

We encountered a WARP crash attempting to compile a shader model 6.9+ shader that uses a static const float3 data[32] = {...}; that's accessed with dynamic indices. I suspect similar issues would arise with static float3 data[32]; that has dynamic read/write access, and potentially also with function-local arrays. I believe groupshared is still required to undergo SROA to be flattened though so that's probably not going to be a problem.

But all of these should probably be explicitly tested. Filing this here rather than https://github.com/microsoft/directxshadercompiler since I suspect this is the easier place to make it happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions