wgpu::util

Function dx12_shader_compiler_from_env

Source
pub fn dx12_shader_compiler_from_env() -> Option<Dx12Compiler>
Expand description

Choose which DX12 shader compiler to use from the environment variable WGPU_DX12_COMPILER.

Possible values are dxc and fxc. Case insensitive.