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

Limit on number of active occlusion queries? #4603

Open
kainino0x opened this issue Apr 25, 2024 · 0 comments
Open

Limit on number of active occlusion queries? #4603

kainino0x opened this issue Apr 25, 2024 · 0 comments
Labels
api WebGPU API
Milestone

Comments

@kainino0x
Copy link
Contributor

@kvark I'm using Vulkan on Android on snapdragon 8gen2/865/870 and found no problem(like device lost) if using more than 512 occlusion queries every frame(in my case, I use almost 1000 queries).

I believe there are some vendor restrictions on the Occlusion Queries active on Adreno platforms. In my case, I have a complex scene (maybe 3000-4000 occlusion queries, I don't count it precisesly but estimate it by number of actors) and on a vivo phone with 8 Gen1, vkGetQueryPoolResults may stall for more than 1s or even worse it may crash the whole game. There are some similar reports on Epic UDN in Unreal Engine about the issue so it's not a rare case on adreno platforms. It's not that reliable if use heavily, both in stability and performance

Originally posted by @BlurryLight in #1324 (comment)

@kainino0x kainino0x added this to the Milestone 1 milestone Apr 25, 2024
@kainino0x kainino0x added the api WebGPU API label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api WebGPU API
Projects
None yet
Development

No branches or pull requests

1 participant