Skip to content

WebGPURenderer: Tree-shaking 1/2 #29187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 29 commits into from
Aug 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
f2b7d0d
tree shaking - WIP
sunag Aug 20, 2024
a4abc95
Merge branch 'dev' into dev-tsl-tree-shaking
sunag Aug 20, 2024
5ff19b7
use TSLBase instead of ShaderNode
sunag Aug 20, 2024
ba666ee
cleanup
sunag Aug 20, 2024
a0e0318
PackingNode: Move to TSL approach
sunag Aug 20, 2024
9effa49
update webgpu_mrt
sunag Aug 20, 2024
9c841be
DiscardNode: Move to TSL approach
sunag Aug 20, 2024
0d44313
HashNode: Move to TSL approach
sunag Aug 20, 2024
41021e4
no references to discard() without chaining
sunag Aug 20, 2024
3b34137
cleanup
sunag Aug 20, 2024
386fbbf
Merge branch 'dev-pack-nodes' into dev-tsl-tree-shaking
sunag Aug 20, 2024
6c194d4
fix import
sunag Aug 20, 2024
344844e
TSL: add `grayscale`
sunag Aug 20, 2024
d1d4a18
Update webgpu_backdrop.html
sunag Aug 20, 2024
4fe6f7f
Merge branch 'dev' into dev-tsl-tree-shaking
sunag Aug 24, 2024
4250708
updates
sunag Aug 24, 2024
d2d8c84
Update misc_controls_fly.html
sunag Aug 24, 2024
b413fd7
update title
sunag Aug 24, 2024
7daac1a
Move `Node.increaseUsage()` -> `NodeBuilder.increaseUsage()`
sunag Aug 24, 2024
09d0024
introduce `registerNodeClass`
sunag Aug 26, 2024
dc3b069
Update NodeLoader.js
sunag Aug 26, 2024
674827d
Separate Nodes class from TSL
sunag Aug 27, 2024
9c07d71
Update TextureBicubic.js
sunag Aug 27, 2024
bdb14a8
Update webgpu_materials.html
sunag Aug 27, 2024
e626486
revision
sunag Aug 27, 2024
8515d7a
webgpu_loader_gltf_dispersion: fix warning
sunag Aug 27, 2024
060850e
webgpu_refraction: update initial angle
sunag Aug 27, 2024
778a534
webgpu_shadowmap_opacity: fix warning
sunag Aug 27, 2024
c45bf64
revision
sunag Aug 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix import
  • Loading branch information
sunag committed Aug 20, 2024
commit 6c194d4c8e5317f4bbfe20c0057f899a01a72c9f
2 changes: 1 addition & 1 deletion src/nodes/utils/DiscardNode.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { select } from '../math/CondNode.js';
import { select } from '../math/ConditionalNode.js';
import { expression } from '../code/ExpressionNode.js';
import { addMethodChaining } from '../tsl/TSLCore.js';

Expand Down
Loading