link-program-error ( program log -- * ) (original) (raw)
link-program-error ( program log -- * )
Class description
An error linking the constituent shaders of a program.
• | The program slot indicates the program that failed to link. |
---|---|
• | The log slot contains the error string from the GLSL linker. |
See also
compile-shader-error
Definition
ERROR: link-program-error program log ;
Methods
USING: accessors debugger gpu.shaders io kernel prettyprint ;
M: link-program-error error.
"The GLSL program " write
[ shader>> name>> pprint-short " failed to link." print ]
[ log>> print ] bi ;