Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update packages/typegpu/src/std/array.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • Loading branch information
aleksanderkatan and Copilot authored Aug 11, 2025
commit 5291a0c7c828cd74754c333241817375eea0c7ca
2 changes: 1 addition & 1 deletion packages/typegpu/src/std/array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ export const arrayLength = createDualImpl(
return snip(`arrayLength(${a.value})`, u32);
},
'arrayLength',
(a) => [ptrFn(a.dataType as ScalarData)],
(a) => [ptrFn(a.dataType as StorableData)],
);
Loading