wgpu/wgpu-types
Nils Hasenbanck 1f5a55ea13 Fix the default lod_max_clamp value for the SamplerDescriptor
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).
2020-06-20 18:03:51 +02:00
..
src Fix the default lod_max_clamp value for the SamplerDescriptor 2020-06-20 18:03:51 +02:00
Cargo.toml Dummy workspace crate 2020-06-18 14:16:04 -04:00