gl: Optimize memory barriers a bit

- Move waits to server side
- Increase the scratch buffer size to avoid waiting on barriers
This commit is contained in:
kd-11 2022-06-26 15:48:32 +03:00 committed by kd-11
parent 9fc6382909
commit f60002e87d
4 changed files with 7 additions and 4 deletions

View file

@ -285,7 +285,7 @@ namespace gl
{
if (barrier_.range.overlaps(range))
{
barrier_.signal.wait_for_signal();
barrier_.signal.server_wait_sync();
return true;
}