Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Fences Associate with ONE Event #1840

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

JerryAMD
Copy link
Collaborator

Problem:
The game could set multiple fences completion at same event. But GFXR replay reset the event when a fence set completion at the event. It caused replay deadlock.

Solution:
Once fence set completion to a event, increase the event refcount. Once the event been triggered, GFXR decrease the refcount. If the refcount down to 0, means no fence waiting for the event, then GFXR reset the event for next cycle.

Problem:
The game could set multiple fences completion at same event.
But GFXR replay reset the event when a fence set completion at the event.
It caused replay deadlock.

Solution:
Once fence set completion to a event, increase the event refcount.
Once the event been triggered, gfxre decrease the refount.
If the refcount is 0, means no fence waiting for the event,
then fxre reset the event for next cycle.
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 289345.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5214 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5214 passed.

@davidd-lunarg davidd-lunarg self-assigned this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants