<compute-program> ( compute-shader-source -- program )


Vocabulary
opengl.shaders

Inputs
compute-shader-sourceA string containing GLSL compute shader source


Outputs
programa new gl-program


Word description
Wrapper for <gl-program> for the simple case of compiling a compute shader and linking them into a GLSL program. Throws an exception if compiling or linking fails.

Definition