VS 2015 compatibility issues.
Added D3D12 guards.
Authored by: crowbar27 2015-08-06
Parent: [r710]
Child: [r712]