Skip to content

Commit 1eec278

Browse files
committed
rename crates ash -> mygraphics, shaders -> mygraphics-shaders, manual adjustments
1 parent 53a076c commit 1eec278

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

graphics/Cargo.toml.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[workspace]
22
members = [
3-
"ash",
4-
"shaders"
3+
"mygraphics",
4+
"mygraphics-shaders"
55
]
66
resolver = "3"
77

graphics/mygraphics-shaders/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "graphics-shaders"
2+
name = "mygraphics-shaders"
33
version = "0.1.0"
44
edition = "2024"
55

graphics/mygraphics/Cargo.toml.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "graphics-ash"
2+
name = "mygraphics"
33
publish = false
44
version.workspace = true
55
authors.workspace = true
@@ -18,7 +18,7 @@ use-compiled-tools = ["spirv-builder/use-compiled-tools"]
1818
{% endif -%}
1919

2020
[dependencies]
21-
graphics-shaders = { path = "../shaders" }
21+
mygraphics-shaders = { path = "../mygraphics-shaders" }
2222

2323
ash.workspace = true
2424
ash-window.workspace = true

graphics/mygraphics/build.rs.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::path::PathBuf;
99

1010
pub fn main() -> anyhow::Result<()> {
1111
let manifest_dir = env!("CARGO_MANIFEST_DIR");
12-
let crate_path = [manifest_dir, "..", "shaders"]
12+
let crate_path = [manifest_dir, "..", "mygraphics-shaders"]
1313
.iter()
1414
.copied()
1515
.collect::<PathBuf>();

graphics/mygraphics/src/graphics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use crate::single_command_buffer::SingleCommandBuffer;
33
use crate::swapchain::DrawFrame;
44
use anyhow::Context;
55
use ash::vk;
6-
use graphics_shaders::ShaderConstants;
6+
use mygraphics_shaders::ShaderConstants;
77
use std::sync::Arc;
88

99
/// Manages the creation and recreation of [`MyRenderPipeline`], whenever new shader code ([`Self::set_shader_code`])

graphics/mygraphics/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ use crate::device::MyDevice;
7474
use crate::graphics::{MyRenderPipelineManager, MyRenderer};
7575
use crate::swapchain::MySwapchainManager;
7676
use ash::util::read_spv;
77-
use graphics_shaders::ShaderConstants;
77+
use mygraphics_shaders::ShaderConstants;
7878
use raw_window_handle::HasDisplayHandle as _;
7979
use winit::event_loop::ActiveEventLoop;
8080
use winit::{

0 commit comments

Comments
 (0)