Open danlea opened 4 years ago
The HDST_DUMP_FAILING_SHADER_SOURCE debug flag is intended to dump the source for all attached shaders on link failure: https://github.com/PixarAnimationStudios/USD/commit/f553a1e328da3a6d6906f364d95ab0050bacd568
However, the debug information never makes it to stdout: _DebugLinkSource() returns a string that is not used (the function is being called as if it were _DumpLinkSource()).
_DebugLinkSource()
_DumpLinkSource()
https://github.com/PixarAnimationStudios/USD/blob/4b1162957b2ad219e1635c81de8343be490e41fc/pxr/imaging/lib/hdSt/glslProgram.cpp#L377-L379
The trivial fix is simply to direct the return value to stdout.
Filed as internal issue #USD-5668
The HDST_DUMP_FAILING_SHADER_SOURCE debug flag is intended to dump the source for all attached shaders on link failure: https://github.com/PixarAnimationStudios/USD/commit/f553a1e328da3a6d6906f364d95ab0050bacd568
However, the debug information never makes it to stdout:
_DebugLinkSource()
returns a string that is not used (the function is being called as if it were_DumpLinkSource()
).https://github.com/PixarAnimationStudios/USD/blob/4b1162957b2ad219e1635c81de8343be490e41fc/pxr/imaging/lib/hdSt/glslProgram.cpp#L377-L379
The trivial fix is simply to direct the return value to stdout.