Handbook
Glossary
compile-shader-error
Vocabulary
gpu.shaders
Class description
An error compiling the source for a
shader
.
•
The
shader
slot indicates the shader that failed to compile.
•
The
log
slot contains the error string from the GLSL compiler.
See also
link-program-error
Definition
IN:
gpu.shaders
TUPLE:
compile-shader-error
shader log
;
Methods
USING:
accessors
debugger
gpu.shaders
io
kernel
prettyprint
;
M:
compile-shader-error
error.
"The GLSL shader "
write
[
shader>>
name>>
pprint-short
" failed to compile."
print
]
[
log>>
print
]
bi
;