Compute shaders can process buffers created
- OpenGL’s Programmable Pipeline
- from OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition
- Publisher: Addison-Wesley Professional
- Released: March 2013
Compute shader: could use this for grayscale conversion: 11-bit grayscale camera frames to 8-bit images suitable for display.
Or do this conversion in the rendering pipeline itself: ie. the fragment shader, and then render to texture, so that the final rendering can be downloaded back to CPU for saving as bitmap.