We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c23c36b commit c426c82Copy full SHA for c426c82
1 file changed
packages/typegpu/tests/utils/parseResolved.ts
@@ -11,6 +11,7 @@ import type { Snippet } from '../../src/data/snippet.ts';
11
import { $internal } from '../../src/shared/symbols.ts';
12
import { CodegenState } from '../../src/types.ts';
13
14
+// TODO: Use a custom shader generator to extract the snippet before it's returned.
15
export function extractSnippetFromFn(cb: () => unknown): Snippet {
16
const ctx = new ResolutionCtxImpl({
17
namespace: namespace({ names: 'strict' }),
0 commit comments