Implementing software rasterisation in OpenCL