Skip to content

Commit

Permalink
Yeeted builtins
Browse files Browse the repository at this point in the history
  • Loading branch information
iwoplaza committed Nov 15, 2024
1 parent ed62045 commit d941cdb
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/typegpu/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface NumberArrayView {
* and up the tree.
*/
export interface ResolutionCtx {
addDeclaration(item: TgpuResolvable): void;
addDeclaration(item: string): void;
/**
* Reserves a bind group number, and returns a placeholder that will be replaced
* with a concrete number at the end of the resolution process.
Expand Down Expand Up @@ -74,14 +74,6 @@ export interface TgpuResolvable {

export interface TgpuIdentifier extends TgpuNamable, TgpuResolvable {}

export interface Builtin {
symbol: symbol;
name: string;
stage: 'vertex' | 'fragment' | 'compute';
direction: 'input' | 'output';
identifier: TgpuIdentifier;
}

export function isResolvable(value: unknown): value is TgpuResolvable {
return (
!!value &&
Expand Down

0 comments on commit d941cdb

Please sign in to comment.