Skip to content

Commit 23e4457

Browse files
authored
Update instruction.rs
1 parent 34b4771 commit 23e4457

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/compiler/translator/ir/src/instruction.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,12 +1754,6 @@ mod const_fold {
17541754
) -> ConstantId {
17551755
pack4x8_helper(ir_meta, constant_id, result_type_id, f32_to_unorm8)
17561756
}
1757-
fn built_in_ftransform(
1758-
ir_meta: &mut IRMeta,
1759-
_result_type_id: TypeId,
1760-
) -> ConstantId {
1761-
ir_meta.get_constant_vec4(0.0, 0.0, 0.0, 0.0)
1762-
}
17631757
fn unorm8_to_f32(v: u8) -> f32 {
17641758
v as f32 / 255.
17651759
}

0 commit comments

Comments
 (0)