webgpu improvements
This commit is contained in:
parent
5a75571ffd
commit
8347467e1e
18 changed files with 1932 additions and 153 deletions
|
|
@ -36,6 +36,11 @@ export namespace Crafter {
|
|||
SampledTexture = 1, // sampled texture_2d<f32>, handle is a slot into heap.imageTable
|
||||
Sampler = 2, // filtering sampler, handle is a slot into heap.samplerTable
|
||||
SampledTextureArray = 3, // sampled texture_2d_array<f32>, handle is a slot into heap.imageTable
|
||||
// read-write storage SSBO (var<storage, read_write> in WGSL). Use
|
||||
// for buffers shaders need to MUTATE — e.g. physics shaders that
|
||||
// integrate node momentum, write brace stress, or output TLAS
|
||||
// instance transforms.
|
||||
BufferReadWrite = 4,
|
||||
};
|
||||
|
||||
struct UICustomBinding {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue