OpenGL helpers

Helper functions to setup OpenGL for simple compute workloads
import OpenGL
OpenGL.__version__
'3.1.7'

source

computeShader

 computeShader (src)

source

createTexture

 createTexture (w, h, texid=0, fmt=None, output=True, src=None)

source

downloadTextureFloat

 downloadTextureFloat (texture, w, h)

source

downloadTexture

 downloadTexture (texture, w, h)

source

showShaderDisassembly

 showShaderDisassembly (source)

source

showLastShaderDisassembly

 showLastShaderDisassembly ()