Update index.md

This commit is contained in:
Matías Locatti 2023-09-14 05:29:23 -03:00 committed by GitHub
parent b2d15a79db
commit daecad7eec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ As soon as you start a game, the game begins making queries to get GPU counters.
Normally, the results are obtained by the Switch's GPU immediately after counting is done — when the rendering is done.
But games like `SUPER MARIO ODYSSEY`, which use occlusion culling, make a _lot_ of queries.
So, if we tried to run all those queries and sync the results on the host (user's) GPU in the same way, it would stall the GPU heavily — as the GPU would be forced to synchronize with the CPU after drawing each scene element to write back the counters.
So, if we tried to run all those queries and write the results on the host (user's) GPU in the same way, it would stall the GPU heavily after drawing each scene element to write back the counters.
To prevent this from happening, Blinkhawk synchronises memory whenever the game requests the GPU to wait for commands to finish rendering. This allows for efficient batching, and for GPU commands which occur after the wait to utilize the counter values.