Skip to content

Commit

Permalink
add tags and other info
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhhelgeson committed Aug 28, 2024
1 parent a8eb792 commit 6720287
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/files.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@
"webgpu_compute_particles_rain",
"webgpu_compute_particles_snow",
"webgpu_compute_points",
"webgpu_compute_sort_bitonic",
"webgpu_compute_texture",
"webgpu_compute_texture_pingpong",
"webgpu_cubemap_adjustments",
Expand Down
1 change: 1 addition & 0 deletions examples/tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
"webgpu_compute_particles_rain": [ "gpgpu" ],
"webgpu_compute_particles_snow_external": [ "gpgpu" ],
"webgpu_compute_points": [ "gpgpu" ],
"webgpu_compute_sort_bitonic": ["gpgpu"],
"webgpu_compute_texture": [ "gpgpu" ],
"webgpu_compute_texture_pingpong": [ "gpgpu" ],
"webgpu_depth_texture": [ "renderTarget" ],
Expand Down
2 changes: 1 addition & 1 deletion src/nodes/Nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export { default as RangeNode } from './geometry/RangeNode.js';

// gpgpu
export { default as ComputeNode } from './gpgpu/ComputeNode.js';
export { workgroupBarrier } from './gpgpu/BarrierNode.js';
export { default as BarrierNode, workgroupBarrier, textureBarrier, storageBarrier } from './gpgpu/BarrierNode.js';

// lighting
export { default as LightNode } from './lighting/LightNode.js';
Expand Down
4 changes: 3 additions & 1 deletion src/nodes/gpgpu/BarrierNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export default BarrierNode;

registerNodeClass( 'Barrier', BarrierNode );

export const barrier = nodeProxy( BarrierNode );
const barrier = nodeProxy( BarrierNode );

export const workgroupBarrier = () => barrier( 'workgroup' ).append();
export const storageBarrier = () => barrier( 'storage' ).append();
export const textureBarrier = () => barrier( 'texture' ).append();

0 comments on commit 6720287

Please sign in to comment.