Skip to content

Regression when using SV_Position with a mesh shader #6940

Closed

Description

@bfavela

Description

This regression was introduced fairly recently, but unsure when

When using SV_Position as the only output for vertices, it will fail compilation with:
error: validation errors
error: DXIL container mismatch for 'SigOutputElement' between 'PSV0' part:('PSVSignatureElement:

If the output is changed to a struct with SV_Position as one of the members, it works fine.

Steps to Reproduce

https://godbolt.org/z/7vEoEjzMf

Actual Behavior

Crash in validation

Environment

  • DXC version (latest)
  • Host Operating System (any)

Activity

  1. added
    bug
    needs-triage
    on Oct 1, 2024
  2. damyanp commented on Oct 1, 2024

    @damyanp
    Member

    It's extremely unlikely that this was caused by #6924, since that PR is still open.

  3. bfavela commented on Oct 1, 2024

    @bfavela
    ContributorAuthor

    It's extremely unlikely that this was caused by #6924, since that PR is still open.

    I don't know what you're talking about! (yeah, I totally goofed on that - just removed it)

  4. llvm-beanz commented on Oct 2, 2024

    @llvm-beanz
    Collaborator

    Likely caused by #6859.

  5. added a commit that references this issue on Oct 3, 2024
    b05313c
  6. added a commit that references this issue on Jul 24, 2025
    f2b0da1
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

    bug

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions