spirv: add R32 support to the GPU code

This commit is contained in:
2022-07-28 13:18:14 -07:00
parent 15fc7b91dc
commit 07dfb9d852
2 changed files with 53 additions and 4 deletions

View File

@@ -16,6 +16,7 @@ mod adapt;
mod support;
use coremem_types::mat::{Ferroxcube3R1MH, FullyGenericMaterial, IsoConductorOr};
use coremem_types::real::R32;
use coremem_types::step::SimMeta;
use coremem_types::vec::{Vec3, Vec3u};
@@ -79,5 +80,7 @@ macro_rules! steps {
};
}
steps!(f32, FullyGenericMaterial<f32>, step_h_generic_material, step_e_generic_material);
steps!(f32, Iso3R1<f32>, step_h_iso_3r1, step_e_iso_3r1);
steps!(f32, FullyGenericMaterial<f32>, step_h_generic_material_f32, step_e_generic_material_f32);
steps!(f32, Iso3R1<f32>, step_h_iso_3r1_f32, step_e_iso_3r1_f32);
steps!(R32, FullyGenericMaterial<R32>, step_h_generic_material_r32, step_e_generic_material_r32);
steps!(R32, Iso3R1<R32>, step_h_iso_3r1_r32, step_e_iso_3r1_r32);