MG: effect parameters and constant buffers for matrices are automatically generated