Re: glBufferSubData & sTRACE_WEBGL_CALLS

2024-02-21 Thread dweidenbrueck
Wow, that was fast, thanks a lot! -- 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-discuss+unsubscr...@googlegroups.com. To view this discussion

Re: glBufferSubData & sTRACE_WEBGL_CALLS

2024-02-21 Thread 'Sam Clegg' via emscripten-discuss
Fix is up at https://github.com/emscripten-core/emscripten/pull/21389 On Wed, Feb 21, 2024 at 12:31 PM Sam Clegg wrote: > This looks like an issue with `hookGLFunction` in `library_webgl.js`. > Would you mind opening a bug? > > cheers, > sam > > On Wed, Feb 21, 2024 at 11:27 AM 'Dieter Weidenbr

Re: glBufferSubData & sTRACE_WEBGL_CALLS

2024-02-21 Thread 'Sam Clegg' via emscripten-discuss
This looks like an issue with `hookGLFunction` in `library_webgl.js`. Would you mind opening a bug? cheers, sam On Wed, Feb 21, 2024 at 11:27 AM 'Dieter Weidenbrück (dweidenbrueck)' via emscripten-discuss wrote: > Hi, > > it looks like there may be an issue with glBufferSubData tracing. > Take

glBufferSubData & sTRACE_WEBGL_CALLS

2024-02-21 Thread dweidenbrueck
Hi, it looks like there may be an issue with glBufferSubData tracing. Take any example using glBufferSubData and compile with -sMIN_WEBGL_VERSION=2 -sMAX_WEBGL_VERSION=2 So far, so good. Now add -sTRACE_WEBGL_CALLS=1 it looks like the call is using a wrong hook during tracing. It misses the las