nv30: hook up basic shader stats, move translation to create time
We previously only compiled at draw time. This moves the compilation up to creation time, in order to be able to generate shader-db stats. The only downside is that we might occasionally recompile vertex shaders due to additional enabled UCPs.
Signed-off-by: Ilia Mirkin imirkin@alum.mit.edu