Moved compute attribute from <data> to it's extension base.

It's now available for <mesh>, <lightshader>, <shader> as well