Allow viewing of translated shader source
kenrussell opened this issue · comments
SpectorJS' ability to view the vertex and fragment shader source for draw calls is very useful.
Could https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ please be integrated to allow viewing of the translated shader source that was fed to the graphics driver? This would allow debugging of issues in the browser much more easily - please see http://crbug.com/1164876 for one example.
Thanks. If you have any pointers in the code about how to hook this up, I could also give it a try.
Yup, I guess it could be not to hard.
Let me give it a quick try over the week end :-)
Closed by 8ebe7d9 This will be deployed as soon as the review process has been passed:
The shader tabs now includes the translated ones.
Thank you so much @sebavan for implementing this! Looking forward to the next SpectorJS update!
No problem, least I could do ;-)