chore: cargo fmt
This commit is contained in:
parent
633ed14411
commit
c781ff6199
24 changed files with 192 additions and 172 deletions
|
|
@ -296,11 +296,12 @@ impl Compositor {
|
|||
});
|
||||
|
||||
// Request SHADER_F16 only if the adapter supports it (e.g., not available in WebGL2)
|
||||
let required_features = if adapter.features().contains(wgpu::Features::SHADER_F16) {
|
||||
wgpu::Features::SHADER_F16
|
||||
} else {
|
||||
wgpu::Features::empty()
|
||||
};
|
||||
let required_features =
|
||||
if adapter.features().contains(wgpu::Features::SHADER_F16) {
|
||||
wgpu::Features::SHADER_F16
|
||||
} else {
|
||||
wgpu::Features::empty()
|
||||
};
|
||||
|
||||
let mut errors = Vec::new();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue