fmt clippy

This commit is contained in:
2025-12-26 00:50:30 +00:00
parent 18fdec939c
commit ee0e0c2b5f
7 changed files with 76 additions and 88 deletions
+1
View File
@@ -177,6 +177,7 @@ pub enum InstructionSet {
OPPosition = ((1 * 64) + 63),
#[allow(non_snake_case)]
#[allow(dead_code)]
#[allow(clippy::erasing_op)]
/// Calculates the minimum of two Vec1s, and also carries over the relevant
/// material metadata.
OPMinMaterial = ((0 * 64) + 63),
+1 -1
View File
@@ -7,4 +7,4 @@ pub mod types;
pub mod vm;
const BYTECODE_IMITATES_GLSL: bool = false;
const DUMP_SPV_DIS_TO_FILE: bool = false;
const DUMP_SPV_DIS_TO_FILE: bool = true;
+1 -1
View File
@@ -474,7 +474,7 @@ impl SSATape {
let void = b.type_void();
let float = b.type_float(32);
let bool = b.type_bool();
let choice = b.type_int(2, 0);
let choice = b.type_int(8, 0);
let vec2 = b.type_vector(float, 2);
let vec3 = b.type_vector(float, 3);
let vec4 = b.type_vector(float, 4);