Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.14.3] - 2026-06-25

### Added

- Command builder one-shot commands for recording graph work.
- `vk-graph-imgui` support for frame-scoped user images in ImGui widgets.

### Changed

- Workspace integration crates affected by this release now target `vk-graph` `0.14.3` and are
versioned as `0.1.2`.

### Deprecated

- `Fence::is_signaled`; use `Fence::status` instead.
- `Fence::wait_signaled`; use `Fence::wait` instead.

## [0.14.2] - 2026-06-18

### Added
Expand Down Expand Up @@ -712,7 +729,8 @@ _See [#25](https://github.com/attackgoat/screen-13/pull/25) for migration detail
platforms and require no bare-metal graphics API knowledge
- "Hello, world!" example using a bitmapped font

[Unreleased]: https://github.com/attackgoat/vk-graph/compare/v0.14.2...HEAD
[Unreleased]: https://github.com/attackgoat/vk-graph/compare/v0.14.3...HEAD
[0.14.3]: https://crates.io/crates/vk-graph/0.14.3
[0.14.2]: https://crates.io/crates/vk-graph/0.14.2
[0.1.0]: https://crates.io/crates/screen-13/0.1.0
[0.2.0]: https://crates.io/crates/screen-13/0.2.0
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ readme = "README.md"
log = "0.4"
profiling = "1.0"
read-only = "0.1"
vk-graph = { path = "", version = "0.14.2" }
vk-graph-egui = { path = "crates/vk-graph-egui", version = "0.1.1" }
vk-graph = { path = "", version = "0.14.3" }
vk-graph-egui = { path = "crates/vk-graph-egui", version = "0.1.2" }
vk-graph-fx = { path = "crates/vk-graph-fx", version = "0.1.1" }
vk-graph-hot = { path = "crates/vk-graph-hot", version = "0.1.1" }
vk-graph-imgui = { path = "crates/vk-graph-imgui", version = "0.1.1" }
vk-graph-window = { path = "crates/vk-graph-window", version = "0.1.1" }
vk-graph-imgui = { path = "crates/vk-graph-imgui", version = "0.1.2" }
vk-graph-window = { path = "crates/vk-graph-window", version = "0.1.2" }
winit = "0.30"

[package]
name = "vk-graph"
version = "0.14.2"
version = "0.14.3"
authors = ["John Wells <john@attackgoat.com>"]
edition.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ real-world use, and supports modern Vulkan commands[^modern].

```toml
[dependencies]
vk-graph = "0.14.2"
vk-graph = "0.14"
```

[*Changelog*](https://github.com/attackgoat/vk-graph/blob/main/CHANGELOG.md)
Expand Down
5 changes: 5 additions & 0 deletions crates/vk-graph-egui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ This crate is versioned independently from `vk-graph`.

## [Unreleased]

## [0.1.2] - 2026-06-25

- Supports `vk-graph` `0.14.3`.
- Uses the command builder API for texture upload copies.

## [0.1.1] - 2026-06-18

- Supports `vk-graph` `0.14.2`.
Expand Down
2 changes: 1 addition & 1 deletion crates/vk-graph-egui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vk-graph-egui"
version = "0.1.1"
version = "0.1.2"
authors = ["Christian Döring <christian.doering@tum.de>"]
description = "egui renderer integration for vk-graph"
documentation = "https://docs.rs/vk-graph-egui"
Expand Down
54 changes: 29 additions & 25 deletions crates/vk-graph-egui/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,31 +127,35 @@ impl Egui {
let image =
graph.bind_resource(self.textures.remove(id).expect("missing texture"));

graph.copy_buffer_to_image_region(
tmp_buf,
image,
[vk::BufferImageCopy {
buffer_offset: 0,
buffer_row_length: delta.image.width() as u32,
buffer_image_height: delta.image.height() as u32,
image_offset: vk::Offset3D {
x: pos[0] as i32,
y: pos[1] as i32,
z: 0,
},
image_extent: vk::Extent3D {
width: delta.image.width() as u32,
height: delta.image.height() as u32,
depth: 1,
},
image_subresource: vk::ImageSubresourceLayers {
aspect_mask: vk::ImageAspectFlags::COLOR,
mip_level: 0,
base_array_layer: 0,
layer_count: 1,
},
}],
);
graph
.begin_cmd()
.debug_name("copy buffer to image")
.copy_buffer_to_image(
tmp_buf,
image,
[vk::BufferImageCopy {
buffer_offset: 0,
buffer_row_length: delta.image.width() as u32,
buffer_image_height: delta.image.height() as u32,
image_offset: vk::Offset3D {
x: pos[0] as i32,
y: pos[1] as i32,
z: 0,
},
image_extent: vk::Extent3D {
width: delta.image.width() as u32,
height: delta.image.height() as u32,
depth: 1,
},
image_subresource: vk::ImageSubresourceLayers {
aspect_mask: vk::ImageAspectFlags::COLOR,
mip_level: 0,
base_array_layer: 0,
layer_count: 1,
},
}],
)
.end_cmd();
(*id, AnyImageNode::from(image))
} else {
let image = graph.bind_resource(
Expand Down
5 changes: 5 additions & 0 deletions crates/vk-graph-imgui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ This crate is versioned independently from `vk-graph`.

## [Unreleased]

## [0.1.2] - 2026-06-25

- Supports `vk-graph` `0.14.3`.
- Adds frame-scoped image registration for rendering user textures in ImGui widgets.

## [0.1.1] - 2026-06-18

- Supports `vk-graph` `0.14.2`.
Expand Down
2 changes: 1 addition & 1 deletion crates/vk-graph-imgui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vk-graph-imgui"
version = "0.1.1"
version = "0.1.2"
authors = ["John Wells <john@attackgoat.com>"]
description = "Dear ImGui renderer integration for vk-graph"
documentation = "https://docs.rs/vk-graph-imgui"
Expand Down
Loading
Loading