Git Product home page Git Product logo

Comments (4)

ChanLee1123 avatar ChanLee1123 commented on May 29, 2024 1

image
Hi krOoze. I cloned this repository and build it with cmake.
And It works well. Do you have anything more to test?

To set configuration for vulkan in mac os, It will be good for you to refer to this link:
https://vulkan.lunarg.com/doc/view/1.0.69.0/mac/getting_started.html

Because the vulkan sdk is not set automatically on the environment variable in the mac os.
If you don't do this, the cmake will complain. So you should do it by export command.

And also Don't forget to set the Validation Layer json file locations.

from hello_triangle.

krOoze avatar krOoze commented on May 29, 2024

Thanks! ❤️

Didn't even expect it to just work just like that 😅

The platform differences are annoying. Yea I prefer to rely on VULKAN_SDK variable. (Same as on linux) this is done by the setup-env.sh, as the SDK docs say. Though it means my Cmake fails for other installation methods...

Do you have anything more to test?

Nah, that's mostly all. I just need it to run. It should survive resizing, minimization, maximization, and fullscreen without crashes or any weirdness. For bonus points you could try different present mode at

constexpr VkPresentModeKHR presentMode = VK_PRESENT_MODE_FIFO_KHR;

from hello_triangle.

ChanLee1123 avatar ChanLee1123 commented on May 29, 2024

My mac spec is

Processor : Quad-Core Intel Core i5
Graphics : Radeon Pro 570
OS : macOS Catalina 10.15.3

In my machine with all of present modes such as IMMEDIATE, FIFO, MAILBOX, All of cases such as resizing, minimization, maximization, and fullscreen does not cause any errors or crashes.

The application is stable in my machine!

from hello_triangle.

krOoze avatar krOoze commented on May 29, 2024

Thanks again @ChanLee1123. I very much appreciate the help.

from hello_triangle.

Related Issues (11)

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.