Browse Source

Disable DXC shader compiler by default because enabling it for DX12 will inevitably break DX11 support.

mac-autoexp
Nico de Poel 3 years ago
parent
commit
e78920a89c
  1. 2
      Assets/Resources/FSR2/ffx_fsr2_unity_common.h

2
Assets/Resources/FSR2/ffx_fsr2_unity_common.h

@ -3,7 +3,7 @@
// Use the DXC shader compiler on modern graphics APIs to enable a few advanced features
#if defined(SHADER_API_D3D12) || defined(SHADER_API_VULKAN) || defined(SHADER_API_METAL)
#pragma use_dxc
//#pragma use_dxc // Using DXC will currently break DX11 support since DX11 and DX12 share the same shader bytecode in Unity. Disabling this by default... *sigh*
#endif
// Enable half precision data types on platforms that support it

Loading…
Cancel
Save