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

VideoBackends:Vulkan: Clean up submission thread using WorkQueueThread #11417

Merged
merged 3 commits into from Apr 4, 2023

Conversation

K0bin
Copy link
Contributor

@K0bin K0bin commented Jan 7, 2023

The way I used BlockingLoop for the Vulkan queue submission thread isn't optimal and it can be streamlined by using WorkQueueThread.

@K0bin K0bin marked this pull request as ready for review January 7, 2023 23:51
@phire
Copy link
Member

phire commented Jan 24, 2023

So over in #11473, I added Flush() to Common::WorkQueueThread.

Maybe WorkQueueThread would be a better solution for the submission thread, the resulting code is much cleaner and it already handles this.

@K0bin
Copy link
Contributor Author

K0bin commented Jan 24, 2023

Interesting, I'll take a look.

@K0bin
Copy link
Contributor Author

K0bin commented Jan 29, 2023

I tried to port it over to WorkQueueThread but that doesn't work so far.

@K0bin
Copy link
Contributor Author

K0bin commented Feb 13, 2023

I'll wait for #11548 to land.

@K0bin
Copy link
Contributor Author

K0bin commented Mar 20, 2023

Rebased and ready for review.

@K0bin K0bin changed the title VideoBackends:Vulkan: Clean up submission thread BlockingLoop usage VideoBackends:Vulkan: Clean up submission thread using WorkQueueThread Apr 3, 2023
@delroth
Copy link
Member

delroth commented Apr 4, 2023

Much much simpler code. Thanks for the cleanup!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants