spirv: remove bindings.rs

the one function which was in here previously is just inlined into
gpu.rs
This commit is contained in:
2022-07-25 13:07:35 -07:00
parent 7cf8ed9a7b
commit 0801a0dca3
3 changed files with 4 additions and 6 deletions

View File

@@ -1,4 +0,0 @@
pub fn entry_points<L: 'static>() -> Option<(&'static str, &'static str)>
{
spirv_backend::entry_points::<L>().into()
}

View File

@@ -10,7 +10,10 @@ use coremem_types::vec::Vec3;
use coremem_types::mat::{FullyGenericMaterial, Material};
use coremem_types::step::SimMeta;
use super::bindings::entry_points;
pub fn entry_points<L: 'static>() -> Option<(&'static str, &'static str)>
{
spirv_backend::entry_points::<L>().into()
}
pub(super) struct WgpuData {
step_bind_group_layout: wgpu::BindGroupLayout,

View File

@@ -11,7 +11,6 @@ use crate::types::vec::Vec3;
use coremem_types::mat::{FullyGenericMaterial, Material};
use coremem_types::step::SimMeta;
mod bindings;
mod gpu;
use gpu::WgpuData;