function and variable names in wasm

2021-02-10 Thread craste...@gmail.com
When I try to debug a problem in the wasm code in a browser (Chrome, Win10, 64bit) the browser's debug window shows me the code. But the names are all replaced with things like "func513" and "var2". Is there a flag that I can pass to emcc to ask it to build with the original names? Also, I n

Combining wasms

2023-02-13 Thread craste...@gmail.com
Is there a way for emscripten to include or merge with an existing wasm file? For example, lets say there is a third party wasm named foo.wasm and I want to make a bar.wasm that exposes foo's interface as well as my own bar api. I know that you can include bytecode files in the compile commandl

Re: Combining wasms

2023-02-13 Thread craste...@gmail.com
les: https://github.com/bytecodealliance/wasm-tools. > > On Mon, Feb 13, 2023 at 10:12 PM craste...@gmail.com > wrote: > >> Is there a way for emscripten to include or merge with an existing wasm >> file? >> >> For example, lets say there is a third party wasm

How to know what WebGL GPU / backend webassembly is using

2023-08-01 Thread craste...@gmail.com
At runtime, is there a way to ask the driver who or what is the backend behind a particular CONTEXT handle? I have a case where the hardware acceleration was enabled, but I suspect it is using the Intel GPU, rather than the AMD Radeon GPU. If it matters, I am asking for 4 sample MSAA. Could th

warning message

2023-10-15 Thread craste...@gmail.com
I am seeing an annoying warning by the emscripten compiler, that the MSVC compiler doesn't give. It has to do with some code that is calling a function that takes (const char[]) as a parameter while the variable being fed to it is a (const char*). MSVC is fine with that, and emscripten is too.

Re: warning message

2023-10-16 Thread craste...@gmail.com
()); ^ ~~~ On Sunday, October 15, 2023 at 6:36:08 PM UTC-7 craste...@gmail.com wrote: > I am seeing an annoying warning by the emscripten compiler, that the MSVC > compiler doesn't give. > > It has to do with some code that is calling a fu

Re: warning message

2023-10-16 Thread craste...@gmail.com
You are a gentleman and a scholar sir. That worked. On Monday, October 16, 2023 at 8:54:29 AM UTC-7 jj wrote: > Try > > Debug("%s", (const char*)u32ToStringAsHex(*((uint32_t*)(matrix_values + > 4))).c_str()); > > if that helps? > > On Mon, Oct 16, 2023 at 4:0

printf ?

2023-12-01 Thread craste...@gmail.com
Has something changed? My printf calls are not outputing to the concole... A change to chrome? -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to emscripten

WASM memory usage

2024-05-15 Thread craste...@gmail.com
Is there an API that can be used to ask how much memory has been allocated, so far, during a session? -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to emsc

unsigned

2024-09-03 Thread craste...@gmail.com
Any news, rumors or plans for WASM (followed by emscripten) to support multiple byte depth unsigned integers? -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: unsigned

2024-09-03 Thread craste...@gmail.com
p 3, 2024 at 4:53 PM craste...@gmail.com > wrote: > >> Any news, rumors or plans for WASM (followed by emscripten) to support >> multiple byte depth unsigned integers? > > > Can you elaborate? What are "multiple byte depth unsigned integers"? > > Perhaps