You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Referencing https://github.com/PAIR-code/deeplearnjs/issues/234, I'm attempting to add node-webgl as a server-side drop-in replacement in deeplearn.js. I've added the (pretty straight-forward) bindings to replace the WebGLRenderContext and extensions, however, I'm getting an error when binding vertexAttrib buffers, not sure why. Commenting out bindVertexBufferToProgramAttribute for clipSpacePos (gpgpu_util.ts:185) will make it -at least not throw errors- but obviously breaks the engine. Per WebGL_and_OpenGL_Differences I've switched the vertex-data to be uploaded into attribute number 0, but without much success. Any ideas/suggestions as to how I should proceed and/or debug?
Referencing https://github.com/PAIR-code/deeplearnjs/issues/234, I'm attempting to add node-webgl as a server-side drop-in replacement in deeplearn.js. I've added the (pretty straight-forward) bindings to replace the WebGLRenderContext and extensions, however, I'm getting an error when binding vertexAttrib buffers, not sure why. Commenting out bindVertexBufferToProgramAttribute for clipSpacePos
(gpgpu_util.ts:185)
will make it -at least not throw errors- but obviously breaks the engine. Per WebGL_and_OpenGL_Differences I've switched the vertex-data to be uploaded into attribute number 0, but without much success. Any ideas/suggestions as to how I should proceed and/or debug?Relevant branch: https://github.com/arthurjdam/deeplearnjs/tree/feature-headless-gl
Error (not very helpful, since it's just the segfault when drawing elements):
The text was updated successfully, but these errors were encountered: