Skip to content

Commit b0b1fe4

Browse files
committed
rename graphics crates
1 parent 0dc7a22 commit b0b1fe4

30 files changed

+24
-24
lines changed

generated/cargo-gpu/Cargo.toml

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

generated/cargo-gpu/ash-graphics/Cargo.toml renamed to generated/cargo-gpu/ash/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "ash-graphics"
2+
name = "graphics-ash"
33
publish = false
44
version.workspace = true
55
authors.workspace = true
@@ -11,7 +11,7 @@ repository.workspace = true
1111
workspace = true
1212

1313
[dependencies]
14-
ash-graphics-shaders = { path = "../ash-graphics-shaders" }
14+
graphics-shaders = { path = "../shaders" }
1515

1616
ash.workspace = true
1717
ash-window.workspace = true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::path::PathBuf;
44

55
pub fn main() -> anyhow::Result<()> {
66
let manifest_dir = env!("CARGO_MANIFEST_DIR");
7-
let crate_path = [manifest_dir, "..", "ash-graphics-shaders"]
7+
let crate_path = [manifest_dir, "..", "shaders"]
88
.iter()
99
.copied()
1010
.collect::<PathBuf>();
File renamed without changes.

generated/spirv-builder/ash-graphics/src/graphics.rs renamed to generated/cargo-gpu/ash/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 ash_graphics_shaders::ShaderConstants;
6+
use graphics_shaders::ShaderConstants;
77
use std::sync::Arc;
88

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

generated/cargo-gpu/ash-graphics/src/main.rs renamed to generated/cargo-gpu/ash/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 ash_graphics_shaders::ShaderConstants;
77+
use graphics_shaders::ShaderConstants;
7878
use raw_window_handle::HasDisplayHandle as _;
7979
use winit::event_loop::ActiveEventLoop;
8080
use winit::{

generated/cargo-gpu/ash-graphics/src/single_command_buffer.rs renamed to generated/cargo-gpu/ash/src/single_command_buffer.rs

File renamed without changes.
File renamed without changes.

generated/cargo-gpu/ash-graphics-shaders/Cargo.toml renamed to generated/cargo-gpu/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 = "ash-graphics-shaders"
2+
name = "graphics-shaders"
33
version = "0.1.0"
44
edition = "2024"
55

File renamed without changes.

0 commit comments

Comments
 (0)