Skip to content

Commit 5201714

Browse files
committed
fmt
1 parent 1fc98ff commit 5201714

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

naga/src/back/spv/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ Backend for [SPIR-V][spv] (Standard Portable Intermediate Representation).
55
*/
66

77
mod block;
8+
mod f16_polyfill;
89
mod helpers;
910
mod image;
1011
mod index;
1112
mod instructions;
1213
mod layout;
13-
mod f16_polyfill;
1414
mod ray;
1515
mod recyclable;
1616
mod selection;

naga/src/back/spv/writer.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1953,8 +1953,9 @@ impl Writer {
19531953
let needs_polyfill = self.needs_f16_polyfill(ty_inner);
19541954

19551955
let pointer_type_id = if needs_polyfill {
1956-
let f32_value_local = super::f16_polyfill::F16IoPolyfill::create_polyfill_type(ty_inner)
1957-
.expect("needs_polyfill returned true but create_polyfill_type returned None");
1956+
let f32_value_local =
1957+
super::f16_polyfill::F16IoPolyfill::create_polyfill_type(ty_inner)
1958+
.expect("needs_polyfill returned true but create_polyfill_type returned None");
19581959

19591960
let f32_type_id = self.get_localtype_id(f32_value_local);
19601961
let ptr_id = self.get_pointer_type_id(f32_type_id, class);

0 commit comments

Comments
 (0)