mirror of
https://github.com/italicsjenga/vello.git
synced 2024-10-18 07:21:30 +11:00
7ac327c684
All streams of the scene are combined into a single buffer. This is very much like existing piet-gpu, however the various outputs from the compute stages (whether computed on CPU or GPU) will retain their separate bindings, which is more native to WGSL. There's a touch of ergonomics loss, in particular when we do transforms we'll need to unmarshal them by hand, but I think overall not too bad.
14 lines
644 B
JSON
14 lines
644 B
JSON
{
|
|
"wgsl-analyzer.customImports": {
|
|
"bbox": "${workspaceFolder}/piet-wgsl/shader/shared/bbox.wgsl",
|
|
"bump": "${workspaceFolder}/piet-wgsl/shader/shared/bump.wgsl",
|
|
"config": "${workspaceFolder}/piet-wgsl/shader/shared/config.wgsl",
|
|
"drawtag": "${workspaceFolder}/piet-wgsl/shader/shared/drawtag.wgsl",
|
|
"segment": "${workspaceFolder}/piet-wgsl/shader/shared/segment.wgsl",
|
|
"pathtag": "${workspaceFolder}/piet-wgsl/shader/shared/pathtag.wgsl",
|
|
"ptcl": "${workspaceFolder}/piet-wgsl/shader/shared/ptcl.wgsl"
|
|
},
|
|
"wgsl-analyzer.diagnostics.nagaVersion": "main",
|
|
"wgsl-analyzer.preprocessor.shaderDefs": ["full"]
|
|
}
|