From f21c0992f54cb309e8b1d2a5287f44c269fe1d89 Mon Sep 17 00:00:00 2001 From: sunag Date: Fri, 5 Apr 2024 09:58:35 -0300 Subject: [PATCH] WebGPURenderer: Introduce compute geometry (#28072) * introduce compute geometry * update * update names * update speed * add TODO * read-only --- examples/files.json | 1 + .../jsm/nodes/accessors/StorageBufferNode.js | 9 ++ .../webgpu/utils/WebGPUAttributeUtils.js | 5 +- .../screenshots/webgpu_compute_geometry.jpg | Bin 0 -> 18229 bytes examples/webgpu_compute_geometry.html | 147 ++++++++++++++++++ 5 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 examples/screenshots/webgpu_compute_geometry.jpg create mode 100644 examples/webgpu_compute_geometry.html diff --git a/examples/files.json b/examples/files.json index 1a4f9a01325b75..1b49918b43bc51 100644 --- a/examples/files.json +++ b/examples/files.json @@ -324,6 +324,7 @@ "webgpu_clearcoat", "webgpu_clipping", "webgpu_compute_audio", + "webgpu_compute_geometry", "webgpu_compute_particles", "webgpu_compute_particles_rain", "webgpu_compute_particles_snow", diff --git a/examples/jsm/nodes/accessors/StorageBufferNode.js b/examples/jsm/nodes/accessors/StorageBufferNode.js index 37ed817117be38..96ab3488d6a951 100644 --- a/examples/jsm/nodes/accessors/StorageBufferNode.js +++ b/examples/jsm/nodes/accessors/StorageBufferNode.js @@ -18,6 +18,15 @@ class StorageBufferNode extends BufferNode { this._attribute = null; this._varying = null; + if ( value.isStorageBufferAttribute !== true && value.isStorageInstancedBufferAttribute !== true ) { + + // TOOD: Improve it, possibly adding a new property to the BufferAttribute to identify it as a storage buffer read-only attribute in Renderer + + if ( value.isInstancedBufferAttribute ) value.isStorageInstancedBufferAttribute = true; + else value.isStorageBufferAttribute = true; + + } + } getInputType( /*builder*/ ) { diff --git a/examples/jsm/renderers/webgpu/utils/WebGPUAttributeUtils.js b/examples/jsm/renderers/webgpu/utils/WebGPUAttributeUtils.js index a9ca11a4b6378c..8203fcdbc3453a 100644 --- a/examples/jsm/renderers/webgpu/utils/WebGPUAttributeUtils.js +++ b/examples/jsm/renderers/webgpu/utils/WebGPUAttributeUtils.js @@ -64,7 +64,6 @@ class WebGPUAttributeUtils { if ( ( bufferAttribute.isStorageBufferAttribute || bufferAttribute.isStorageInstancedBufferAttribute ) && bufferAttribute.itemSize === 3 ) { - bufferAttribute.itemSize = 4; array = new array.constructor( bufferAttribute.count * 4 ); for ( let i = 0; i < bufferAttribute.count; i ++ ) { @@ -73,6 +72,10 @@ class WebGPUAttributeUtils { } + // Update BufferAttribute + bufferAttribute.itemSize = 4; + bufferAttribute.array = array; + } const size = array.byteLength + ( ( 4 - ( array.byteLength % 4 ) ) % 4 ); // ensure 4 byte alignment, see #20441 diff --git a/examples/screenshots/webgpu_compute_geometry.jpg b/examples/screenshots/webgpu_compute_geometry.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1d5f8309b51c6568b784f419b08ff78f4d718322 GIT binary patch literal 18229 zcmc({cT`i|*De}GM5!W8YE(d^OYcNQx`6afM4I#t0Yaiw=}MI@y%Xu3(2?GI2k9-L z21wxWe%~GEpZm}6ocFuqu8h5QGWK2>b7t-}*IdstXKto%mI05Hj!L;O?D&+CTl>f7(5~e|r3T_werB$G?C7zYc@5 z#Q%Kw?_qcG@$m2o3GNg8*X94C?xqDm{s3@!=R4jVa==~kJ9y-GZaVH{-pYvoU!vU# z`rqx&UA%kv_X%!AAbNBwHXh!su=ux<-rnhZdkt`p9RKk%zBl(N)J+MVJ5%z1{gLs2 z`E6M%mBt8)Mc|W*-$O!bnkTe$tS{JJvU3Ou35$q|iOal`m6KOcRMOPa*3s3|H!w4| zu(bMYZR6_Z?%@gX^7ao13<~}h5*i&78yBDOGchSMD?2AQFTbF$yrQzIx~8_SzOB8Z zv#a}0Pw(j1_{8MY^vvwa>e}D+jm@p?9rV%h$?4fS=Hl`W0Pnxmx$Xa7`rImh=k7nh zIl({r+_~#{d*G4Z!+*wi|M44j0#j#-=lowEP`>?I_&faA)T?9l?(59F`F7}Z(j8$fW<4ImI|O1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