Closed alienself closed 1 year ago
Thanks, good catch!
I opted to fix by using let
instead of const
, since let
is already collapsed to single byte entropy in compression, lib_webgpu.js does not currently contain the keyword const
. (it is typically good practice to use const
, but for these kinds of system level bindings, code compression is key)
buffer which contains the id of the buffer must be send back the callback function otherwise buffer value inside callback function is "0", I fixed that.