Shader module compilation options may be specified to override Dawn's default compilation behavior.
wgpu::ShaderModuleCompilationOptions
may be chained on wgpu::ShaderModuleDescriptor
. If it is, Dawn will use these compilation options instead of its defaults.
wgpu::ShaderModuleCompilationOptions::strictMath
Enables or disables strict math. When strict math is disabled, generally the compiler will: