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 1dc2739 commit 29309e0Copy full SHA for 29309e0
examples/advanced-typescript.ts
@@ -42,7 +42,7 @@ interface IKernelMapResult extends ISubKernelsResults {
42
test: KernelOutput;
43
}
44
45
-const kernelMap = gpu.createKernelMap<IKernelMapResult, typeof kernelFunction>({
+const kernelMap = gpu.createKernelMap<Parameters<typeof kernelFunction>>({
46
test: subKernel,
47
}, kernelFunction)
48
.setConstants<IConstants>({
0 commit comments