Skip to content

XeFG redundant resource barrier transition causing a crash #47

@FakeMichau

Description

@FakeMichau

According to the documentation, for resources with the RV_ONLY_NOW validity, the ideal state should be COPY_SOURCE.
When providing a resource with such state, XeFG seems to not be checking if the resource is already in the COPY_SOURCE state and tries to place a transition barrier COPY_SOURCE -> COPY_SOURCE which is not allowed and causes the application to crash.

D3D12 ERROR: ID3D12CommandList::ResourceBarrier: Before and after states must be different. [ RESOURCE_MANIPULATION ERROR #525: RESOURCE_BARRIER_MATCHING_STATES]

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

    Issue actions