Skip to content

chore: Remove dead code #3069

Description

@vende11s

Code that seems to be dead:

packages/typegpu/src/taskQueue.ts

packages/typegpu-react/src/core/use-render.ts (?) - there is a mention of #2462

concretizeSnippets from packages/typegpu/src/tgsl/generationHelpers.ts

isVecBoolInstance from packages/typegpu/src/data/wgslTypes.ts

isConcrete from packages/typegpu/src/data/wgslTypes.ts

isExternalTexture from packages/typegpu/src/core/texture/externalTexture.ts

isTgpuRenderPass from packages/typegpu/src/core/pipeline/typeGuards.ts

isComptimeFn from packages/typegpu/src/core/function/comptime.ts

pmRun from packages/typegpu-cli/src/utils/pm.ts

midPoint from packages/typegpu-geometry/src/utils.ts

SetupStageData, getSetupStageData, and setupStageDataMap from packages/typegpu-three/src/typegpu-node.ts

AnyFloat16VecInstance, AnyFloat32VecData, and AnyFloat16VecData from packages/typegpu/src/data/wgslTypes.ts

AnyUnstruct from packages/typegpu/src/data/dataTypes.ts

BufferUsage from packages/typegpu/src/types.ts

OmitPropsExact from packages/typegpu/src/shared/utilityTypes.ts

ExtensionGuard and its only dependency, NotAllowed, from packages/typegpu/src/extension.ts

AttribRecordToAcceptedDataTypes from packages/typegpu/src/core/vertexLayout/vertexAttribute.ts

TexelData from packages/typegpu/src/core/texture/texture.ts

ComputeFnOptions from packages/typegpu/src/core/function/tgpuComputeFn.ts

TransformHookFilter from packages/unplugin-typegpu/src/core/filter.ts

AppJson and TsConfig from packages/typegpu-cli/src/utils/types.ts

CascadeStaticParams.cascadeDim from packages/typegpu-radiance-cascades/src/cascades.ts - initialized in packages/typegpu-radiance-cascades/src/runner.ts, but never read

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions