Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update yakui to fix its Vulkan code for older computers #429

Merged
merged 2 commits into from
Sep 15, 2024
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
4 changes: 2 additions & 2 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ server = { path = "../server" }
tracing = "0.1.10"
ash = { version = "0.38.0", default-features = false, features = ["loaded", "debug", "std"] }
lahar = { git = "https://github.com/Ralith/lahar", rev = "7963ae5750ea61fa0a894dbb73d3be0ac77255d2" }
yakui = { git = "https://github.com/SecondHalfGames/yakui", rev = "273a4a1020803066b84ac69a7646893419c31385" }
yakui-vulkan = { git = "https://github.com/SecondHalfGames/yakui", rev = "273a4a1020803066b84ac69a7646893419c31385" }
yakui = { git = "https://github.com/SecondHalfGames/yakui", rev = "136f88d54f08fcb21a5215f422c8581f89d46dd2" }
yakui-vulkan = { git = "https://github.com/SecondHalfGames/yakui", rev = "136f88d54f08fcb21a5215f422c8581f89d46dd2" }
winit = "0.30.4"
ash-window = "0.13"
raw-window-handle = "0.6"
Expand Down
3 changes: 2 additions & 1 deletion client/src/graphics/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ impl Base {
.enabled_extension_names(&device_exts)
.push_next(
&mut vk::PhysicalDeviceVulkan12Features::default()
.descriptor_binding_partially_bound(true),
.descriptor_binding_partially_bound(true)
.descriptor_binding_sampled_image_update_after_bind(true),
),
None,
)
Expand Down
5 changes: 0 additions & 5 deletions save/src/protos.rs
Ralith marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,34 +1,29 @@
// This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Meta {
/// Number of voxels along the edge of a chunk
#[prost(uint32, tag = "1")]
pub chunk_size: u32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Character {
/// Graph edges to traverse from the origin to find the node containing the character's entity
#[prost(bytes = "vec", tag = "1")]
pub path: ::prost::alloc::vec::Vec<u8>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EntityNode {
/// Entities whose origins lie within this node, each encoded as:
/// { entity: u64, component_count: varint, components: \[{ type: varint, length: varint, data: [u8\] }] }
#[prost(bytes = "vec", repeated, tag = "1")]
pub entities: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VoxelNode {
/// Voxel data for each modified chunk
#[prost(message, repeated, tag = "1")]
pub chunks: ::prost::alloc::vec::Vec<Chunk>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Chunk {
/// Which dodecahedron vertex is associated with this chunk
Expand Down