spirv: remove bindings.rs
the one function which was in here previously is just inlined into gpu.rs
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
pub fn entry_points<L: 'static>() -> Option<(&'static str, &'static str)>
|
|
||||||
{
|
|
||||||
spirv_backend::entry_points::<L>().into()
|
|
||||||
}
|
|
@@ -10,7 +10,10 @@ use coremem_types::vec::Vec3;
|
|||||||
use coremem_types::mat::{FullyGenericMaterial, Material};
|
use coremem_types::mat::{FullyGenericMaterial, Material};
|
||||||
use coremem_types::step::SimMeta;
|
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 {
|
pub(super) struct WgpuData {
|
||||||
step_bind_group_layout: wgpu::BindGroupLayout,
|
step_bind_group_layout: wgpu::BindGroupLayout,
|
||||||
|
@@ -11,7 +11,6 @@ use crate::types::vec::Vec3;
|
|||||||
use coremem_types::mat::{FullyGenericMaterial, Material};
|
use coremem_types::mat::{FullyGenericMaterial, Material};
|
||||||
use coremem_types::step::SimMeta;
|
use coremem_types::step::SimMeta;
|
||||||
|
|
||||||
mod bindings;
|
|
||||||
mod gpu;
|
mod gpu;
|
||||||
use gpu::WgpuData;
|
use gpu::WgpuData;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user