Skip to content

Commit c426c82

Browse files
committed
chore: Use public API in test utilities (extractSnippet, ...)
1 parent c23c36b commit c426c82

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/typegpu/tests/utils/parseResolved.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import type { Snippet } from '../../src/data/snippet.ts';
1111
import { $internal } from '../../src/shared/symbols.ts';
1212
import { CodegenState } from '../../src/types.ts';
1313

14+
// TODO: Use a custom shader generator to extract the snippet before it's returned.
1415
export function extractSnippetFromFn(cb: () => unknown): Snippet {
1516
const ctx = new ResolutionCtxImpl({
1617
namespace: namespace({ names: 'strict' }),

0 commit comments

Comments
 (0)