Skip to content
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

TSL: SubgroupFunctionNode #30022

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
25 changes: 25 additions & 0 deletions src/Three.TSL.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,10 @@ export const rotateUV = TSL.rotateUV;
export const roughness = TSL.roughness;
export const round = TSL.round;
export const rtt = TSL.rtt;
export const quadBroadcast = TSL.quadBroadcast;
export const quadSwapDiagonal = TSL.quadSwapDiagonal;
export const quadSwapX = TSL.quadSwapX;
export const quadSwapY = TSL.quadSwapY;
export const sRGBTransferEOTF = TSL.sRGBTransferEOTF;
export const sRGBTransferOETF = TSL.sRGBTransferOETF;
export const sampler = TSL.sampler;
Expand Down Expand Up @@ -434,8 +438,29 @@ export const storageObject = TSL.storageObject;
export const storageTexture = TSL.storageTexture;
export const string = TSL.string;
export const sub = TSL.sub;
export const subgroupAdd = TSL.subgroupAdd;
export const subgroupAll = TSL.subgroupAll;
export const subgroupAnd = TSL.subgroupAnd;
export const subgroupAny = TSL.subgroupAny;
export const subgroupBallot = TSL.subgroupBallot;
export const subgroupBroadcast = TSL.subgroupBroadcast;
export const subgroupBroadcastFirst = TSL.subgroupBroadcastFirst;
export const subgroupElect = TSL.subgroupElect;
export const subgroupExclusiveAdd = TSL.subgroupExclusiveAdd;
export const subgroupExclusiveMul = TSL.subgroupExclusiveMul;
export const subgroupInclusiveAdd = TSL.subgroupInclusiveAdd;
export const subgroupInclusiveMul = TSL.subgroupInclusiveMul;
export const subgroupIndex = TSL.subgroupIndex;
export const subgroupMax = TSL.subgroupMax;
export const subgroupMin = TSL.subgroupMin;
export const subgroupMul = TSL.subgroupMul;
export const subgroupOr = TSL.subgroupOr;
export const subgroupShuffle = TSL.subgroupShuffle;
export const subgroupShuffleDown = TSL.subgroupShuffleDown;
export const subgroupShuffleUp = TSL.subgroupShuffleUp;
export const subgroupShuffleXor = TSL.subgroupShuffleXor;
export const subgroupSize = TSL.subgroupSize;
export const subgroupXor = TSL.subgroupXor;
export const tan = TSL.tan;
export const tangentGeometry = TSL.tangentGeometry;
export const tangentLocal = TSL.tangentLocal;
Expand Down
1 change: 1 addition & 0 deletions src/nodes/TSL.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export * from './gpgpu/ComputeBuiltinNode.js';
export * from './gpgpu/BarrierNode.js';
export * from './gpgpu/WorkgroupInfoNode.js';
export * from './gpgpu/AtomicFunctionNode.js';
export * from './gpgpu/SubgroupFunctionNode.js';

// lighting
export * from './accessors/Lights.js';
Expand Down
Loading
Loading