-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
$ cd vulkan/examples/triangle
$ deno run -A --unstable ./main.ts
error: Uncaught (in promise) TypeError: Cannot convert object to primitive value
this.#view.setBigUint64(16, BigInt(anyPointer(value)), LE);
^
at BigInt (<anonymous>)
at ApplicationInfo.set pApplicationName (vulkan/api/vk.ts:16106:33)
at new ApplicationInfo (vulkan/api/vk.ts:16076:69)
at TriangleApplication.createInstance (vulkan/examples/triangle/main.ts:181:21)
at TriangleApplication.setupVulkan (vulkan/examples/triangle/main.ts:84:10)
at TriangleApplication.run (vulkan/examples/triangle/main.ts:76:16)
at vulkan/examples/triangle/main.ts:1515:11
This error is occurring in both examples.
I am having trouble resolving this error because I do not fully understand the structure of anyPointer() and the specification of Deno.PointerView itself.
What is the solution to this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels