Rezmason
|
0884c6a4de
|
WebGPU Renderer now awaits the submitted work in the old device's queue before destroying it
|
2025-05-26 12:03:52 -07:00 |
|
Rezmason
|
b6570de106
|
Fixed some major bugs: the WebGPU cache should store loaded images and text, never GPU resource handles; renamed renderer "formulate" to "configure"; WebGPU renderer's configure function needs early returns after each major await, in case there's a new config; the render loops are now locally stored closures; renderers now have start and stop functions; fixed bugs in the REGL and WebGPU mirror passes; WebGPU bloom pass now enforces texture dimensions are greater than zero; the react component now stores the renderer type in a useRef and returns early from renderer init awaits to prevent multiple renderers from instantiating.
|
2025-05-25 03:30:26 -07:00 |
|
Rezmason
|
f61a4e29c9
|
Added cache check to WebGPU renderer's loadShader method. Un-commented entries into config.js. Inclusions are now explicit dynamic import lambdas, so the cache functions can detect and call them; however, webpack and rollup seem to use them differently.
|
2025-05-20 07:57:27 -07:00 |
|
Rezmason
|
eea341f50c
|
Exploring ways to preserve the vanilla JS browser demo without compromising on the bundle. Experimenting with embedding images in the bundle as data URIs
|
2025-05-06 12:59:02 -07:00 |
|
Rezmason
|
f3cd449c7d
|
Added WebGPU support and added caching to the WebGPU version.
|
2025-05-05 19:07:36 -07:00 |
|
Rezmason
|
237990b44c
|
Ran the format script
|
2025-05-05 08:52:35 -07:00 |
|
Rezmason
|
b86b97fde9
|
Adding an FPS argument. The renderers now determine whether the current frame should be rendered, and passes use that to determine whether to render or not. The rain pass, however, will still update the simulation at full speed.
|
2022-10-03 23:45:56 -07:00 |
|
Rezmason
|
ec831ce6f1
|
Adding named debug groups to the WebGPU passes, and switching the pipeline create calls to the async methods
|
2022-09-11 20:09:32 -07:00 |
|
Rezmason
|
a0c1f22fd1
|
Updating WebGPU project to satisfy Chrome Canary
|
2022-08-07 19:17:22 -07:00 |
|
Rezmason
|
f72d5450e8
|
Replacing the deprecated loadValue property in the render pass config descriptors' color attachments
|
2022-04-30 18:16:33 -07:00 |
|
Rezmason
|
4118faca27
|
Pass::endPass --> Pass:end
|
2022-04-30 18:16:33 -07:00 |
|
Rezmason
|
b26155d20e
|
Adding some more comments. Destructuring the context object in the pass modules. A little code cleanup in bloomPass. Changing the endPass sampler to be cheaper.
|
2021-11-15 01:05:05 -08:00 |
|
Rezmason
|
1b61e304a5
|
Refactoring the pass and pipeline, so that inputs and size are handed to and returned from the build function (formerly setSize). This is now the earliest place to build bind groups, which makes sense, because it's also the earliest place to create textures that are proportional to the size of the canvas.
|
2021-11-15 00:30:09 -08:00 |
|
Rezmason
|
9ad655ca2e
|
Created a pass-through post processing compute pass. The other post-processing passes will be changed over to this kind of thing.
makePassFBO has now been split into makeRenderTarget and makeComputeTarget.
|
2021-11-11 09:18:32 -08:00 |
|
Rezmason
|
9c861fd50b
|
Replacing the final copyToTexture call with a tiny render pass, so that the postprocessing passes can be compute shaders working off of storage textures instead.
|
2021-11-11 08:24:30 -08:00 |
|