Coder Social home page Coder Social logo

matchachoco010 / egui_winit_ash_vk_mem Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 4.0 455 KB

This is the egui integration crate for winit, ash and vk_mem.

License: Apache License 2.0

Rust 98.97% GLSL 1.03%
egui vk-mem winit ash vulkan gamedev rust

egui_winit_ash_vk_mem's People

Contributors

ele-deploy avatar matchachoco010 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

egui_winit_ash_vk_mem's Issues

[ANNOUNCEMENTS] About the latest version of ash and the vk_mem problem.

Reference gwihlidal/vk-mem-rs#54

When I was working on upgrading egui, I tried to remove Cargo.lock and rebuild it cleanly.
However, I found out that the latest version of vk-mem-rs does not support the latest version of ash.
This broke the existing build of lib.rs and examples.

The options I can take are :

  1. set an upper limit on supported ash versions.
  2. wait for vk-mem-rs to update to support the latest ash.

I think I'll take the second option.
But unfortunately, vk-mem-rs is not updated frequently these days.
Instead of vk-mem-rs, some projects seem to adopt gpu-allocator, which is an actively maintained allocator built entirely in Rust language.

I will be investigating the gpu-allocator soon.
If I migrate my personal project from vk-mem-rs to gpu-allocator, I will stop updating this egui_winit_ash_vk_mem after setting the upper limit for the corresponding ash version.
If anyone wants to continue to use vk_mem, please folk this repository and continue to maintain it.

I may create a crate called egui-winit-ash-gpu-allocator soon.
However, I don't have time to do that right away.
I would be happy if someone could make that crate for everyone.

Validation Error UNASSIGNED-CoreValidation-DrawState-InvalidRenderpass

Hi,
I'm trying to use this in my project, but the Khronos Validation layer keeps spitting out this error:

[Debug][error][validation] "Validation Error: [ UNASSIGNED-CoreValidation-DrawState-InvalidRenderpass ] Object 0: handle = 0x5555571d3858, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xa1662b9 | You cannot start a render pass using attachment 0 where the render pass initial layout is VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL and the previous known layout of the attachment is VK_IMAGE_LAYOUT_PRESENT_SRC_KHR. The layouts must match, or the render pass initial layout for the attachment must be VK_IMAGE_LAYOUT_UNDEFINED"

It still renders, but clearly something is wrong with the renderpass here. Is this user error on my part or a general problem with the crate?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.