I'm using Pixel Bender to run a cellular automaton, like
Game of Life. The shader I created works properly over 99% of
the time. But at a seemingly random time and location, a single
pixel in the image I'm processing may change to the wrong color,
thus invalidating the entire image from that point on.
Does this traditionally occur? Could I have written the
shader wrong, if it works over 99% of the time? It seems too random
to be the result of a bug in my code. A little help, please.
a good way to check these kind of issues is to try it both on
GPU and CPU mode. If you see the same issue in both locations, then
it is probably a bug in your kernel. If it is only on one then it
might be a graphics card driver bug. Beware of some of the weird
maths that GPUs do..