feature: WebGPU Rendering & Memory Management System - #266
Draft
Jarbuckle wants to merge 29 commits into
Draft
Conversation
Jarbuckle
commented
Jun 25, 2026
Contributor
Author
There was a problem hiding this comment.
This is one of the files where I'll be experimenting with doing a translation of @froyo-np's work into this framework
…r memory management
…arget data changes
froyo-np
reviewed
Jul 14, 2026
| vertex: { kind: 'typed', layout, data: { position: spec.mesh.positions } }, | ||
| index: { kind: 'arrays', data: spec.mesh.indices }, | ||
| // Bindings keyed by slot name: shared camera + this shape's instance uniform. | ||
| bindings: { camera: cameraRes, instance }, |
Collaborator
There was a problem hiding this comment.
Suggested change
| bindings: { camera: cameraRes, instance }, | |
| bindings: { camera: cameraRes, instance:{ | |
| color, | |
| matrix:identity(), | |
| } }, |
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.
feature: WebGPU Rendering & Memory Management System
This PR is a holding bucket for all of the work done to prepare the WebGPU Rendering System
This codebase is split into modules, which are structured to be independently merged as separate PRs. They are as follows, with checked-off ones having been successfully merged:
core/src/rendering/webgpu/foundation) -- Shared capabilities for the other modulescore/src/rendering/webgpu/shaders) -- Capabilities for building shaders programmaticallycore/src/rendering/webgpu/memory) -- Capabilities for creating and managing GPU memory bufferscore/src/rendering/webgpu/resources) -- Capabilities for defining, binding and populating resource buffers (uniforms, textures, storage buffers, vertex buffers, etc.)core/src/rendering/webgpu/renderer) -- Capabilities for defining complex arrangements of drawables and their rendering pipelines, then executing them