On Thu Nov 24 00:42:23 2022 +0000, Zebediah Figura wrote:
Ah, of course. It makes me a *bit* nervous, but I guess the main reason to disable CSMT these days is CPU usage, not even performance, so this probably is fine. Not that I know what this glFinish is for in the first place, though... I don't suppose that it can be asynchronous?
The glFinish() here is to force some kind of ordering if there are multiple threads drawing to the same swapchain. Basically the same idea that was behind StrictDrawOrdering before CSMT was a thing.
Obviously this only flushes the current context, so it doesn't necessarily help anyway. I don't think it's too crazy to just get rid of it entirely.