|
|
@ -3,7 +3,7 @@ |
|
|
|
|
|
|
|
|
// Use the DXC shader compiler on modern graphics APIs to enable a few advanced features |
|
|
// 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) |
|
|
#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 |
|
|
#endif |
|
|
|
|
|
|
|
|
// Enable half precision data types on platforms that support it |
|
|
// Enable half precision data types on platforms that support it |
|
|
|