diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-04-08 12:55:29 +1000 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-04-08 12:55:29 +1000 |
| commit | 453d5b0052bd17ed74d47570ffff403ffcd9ebb3 (patch) | |
| tree | 14ab71a5ff27d5485faea061f6e8fe26c0e19640 /src/frame_span.hh | |
| parent | eb9719cc8b9a308654ccd2c3bce8a7047b6e2a1a (diff) | |
Fix refactor latency regression for VK_NV_LowLatency2 by checking if work has already completed
Diffstat (limited to 'src/frame_span.hh')
| -rw-r--r-- | src/frame_span.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame_span.hh b/src/frame_span.hh index 5220702..638554b 100644 --- a/src/frame_span.hh +++ b/src/frame_span.hh @@ -28,6 +28,8 @@ class FrameSpan { void update(std::shared_ptr<TimestampPool::Handle> handle); public: + // Check if GPU work has completed without hanging. + bool has_completed() const; // Wait for for GPU work to complete. void await_completed() const; }; |
