Thanks for taking time to view these two small questions:

1. Can a subroutine call another subroutine in a single shader?

2. I have to use GL_FLOAT if I pass integers into vertex shader when calling glVertexAttribPointer. It's somewhat weird.

Any ideas? Thanks in advance.