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.

This commit is contained in:
Rezmason
2021-11-11 08:24:30 -08:00
parent 9813e76ffb
commit 9c861fd50b
5 changed files with 85 additions and 5 deletions

View File

@@ -2,10 +2,9 @@ TODO:
WebGPU
Switch post processing to compute shaders
Do one final render pass that draws the compute shader output to the canvas texture
This is a temporary requirement until the canvas context can be configured to generate storage textures
blur pass
Update links in issues
Get rid of end pass once it's possible to copy a bgra8unorm to a canvas texture
gpu-buffer, working title
Try and use it for the palette color buffer