← All resources

GPU Side Input

Auto-discovered

Talk Advanced

Timothy Lattis

Visit resource ↗

Description

GPU Side Input is a short technical talk by Timothy Lattis on the Neokineogfx channel about reading controller and keyboard state from GPU shaders late in the frame to cut input-to-photon latency.

It contrasts a CPU-read-then-submit path near two frames of latency with GPU-side packets written by a high-priority CPU thread. Topics include a 64-byte packet with hash, hot-reload counter, keys, timestamps, and gamepads; a two-deep ring buffer; Vulkan submit-boundary cache flushes; hash checks for partial writes; mouse deltas as rates; and dual late-latch points for input versus late camera rotation after view-independent work.

It is for advanced engine programmers who ship Vulkan-style submission and care about frame latency. Comfort with GPU caches and mid-frame sync is assumed.

Access is a free YouTube video with slide narration. No sample project is attached in the talk itself.

It is useful for a concrete packet and cache strategy for GPU-consumed input without moving full simulation onto the GPU.