mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-26 08:44:08 +00:00
1f5a55ea13
The current default value for the lod_max_clamp of a sampler is 0. This would deactivate mipmapping alltogether. Setting it to f32::MAX makes sure to always enable it. It's the default value apple uses in Metal, it seems to be valid usage in Vulkan (maxLod in VkSamplerCreateInfo) and in DX12 (MaxLOD in D3D12_SAMPLER_DESC). |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |