Repository navigation
wgpu: VPro raster unit on the host GPU, and a wgpu window - #444
Merged
Merged
Conversation
A common wgpu layer (src/wgpu) for host-GPU rasterisation, and the VPro (Odyssey) raster unit built on it, word for word with the CPU pipeline. - The board draws on the GPU raster unit with board memory mirrored on the CPU; dirty maps both ways, region readbacks, no waits on texture and image uploads (blit records, mip levels and scratch images as regions). - The texture unit runs on the GPU. - Batches submit as the board idles or after 4 ms; display swaps wait on stream positions, so a flip shows only drawing that has completed. - Window-id bytes written by GPU blits are also stored in the mirror, since the display front end reads them without waiting. - The VPro display composes on the GPU. - New window renderer: renderer = "wgpu" (or --renderer wgpu). VPro frames stay on the device, nothing is read back unless a screenshot or VNC asks. Newport's compositor runs as a WGSL kernel. GL stays the default; iris-gui is unchanged. - Testing: the CPU and GPU units agree on recorded sessions (new test), and on the guest GL suites, visual sweeps, piglit and seven X visual modes. New guest suite drivers in test/gltest (glsuite.sh, xsweep.sh, glsuite-compare.sh) and replay knobs (VPRO_REPLAY_WRITES, VPRO_REPLAY_TICK). Squashed from the wgpu-raster branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A common wgpu layer (src/wgpu) for host-GPU rasterisation, and the VPro (Odyssey) raster unit built on it, word for word with the CPU pipeline.
Squashed from the wgpu-raster branch.