diff options
| author | HampusM <hampus@hampusmat.com> | 2026-05-21 17:55:20 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-05-21 17:55:20 +0200 |
| commit | 8022e8998290b067b8aa0cb9cba8ba410826bdab (patch) | |
| tree | 7171e79ce530e03079046ee8fd12167160c45480 /engine/src/shader.rs | |
| parent | 412cee02c252f91bcf0b70a3f5cc5fca6d2b4c62 (diff) | |
Diffstat (limited to 'engine/src/shader.rs')
| -rw-r--r-- | engine/src/shader.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/src/shader.rs b/engine/src/shader.rs index 1b368fb..d5611ca 100644 --- a/engine/src/shader.rs +++ b/engine/src/shader.rs @@ -6,10 +6,10 @@ use std::path::Path; use std::str::Utf8Error; use bitflags::{bitflags, bitflags_match}; -use ecs::pair::{ChildOf, Pair}; -use ecs::phase::{POST_UPDATE as POST_UPDATE_PHASE, Phase, START as START_PHASE}; -use ecs::sole::Single; -use ecs::{Component, Sole, declare_entity}; +use crate::ecs::pair::{ChildOf, Pair}; +use crate::ecs::phase::{POST_UPDATE as POST_UPDATE_PHASE, Phase, START as START_PHASE}; +use crate::ecs::sole::Single; +use crate::ecs::{Component, Sole, declare_entity}; use shader_slang::{ Blob as SlangBlob, ComponentType as SlangComponentType, @@ -972,9 +972,9 @@ declare_entity!( pub(crate) struct Extension; -impl ecs::extension::Extension for Extension +impl crate::ecs::extension::Extension for Extension { - fn collect(self, mut collector: ecs::extension::Collector<'_>) + fn collect(self, mut collector: crate::ecs::extension::Collector<'_>) { let Some(global_session) = SlangGlobalSession::new() else { tracing::error!("Unable to create global shader-slang session"); |
