To perform general computing tasks, of the type of CUDA on the GPU using Compute Shaders and SSBO - Shader Storage Buffer Objects. The following code has a bug and in my open source Linux drivers on a ...
#define SAMPLE_TEXTURE2D(textureName, samplerName, coord2) tex2D(textureName, coord2) #define SAMPLE_TEXTURE2D_LOD(textureName, samplerName, coord2, lod) tex2Dlod ...