Matteo Bruni : d3dcompiler: Move variables declaration to a separate function.