nine/shader: record used constbuf size