Register Max count

Hi guys,

I know that on a cuda thread you have at max 255 registers per thread for GTX 980/GTX 1080. But how it works with glsl?
For compute shaders and fragment shaders? Is it bound to 64?

Tanks!