Created attachment 116227 [details]
sdiff output for suspected bad shader
Here is a dump from sdiff of a good shader with no GPU protection faults (left
side) and a bad shader that causes GPU protection faults (right side). Search
for the pipe character '|' to find the only difference between the two shaders.
I'm not sure yet why this difference would lead to GPU protection faults.