Giter Site home page Giter Site logo

jerboa-app / hellovulkan Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 18.55 MB

Run through of the Vulkan Tutorial (Linux + Linux->Windows cross compile with mingw-w64) https://vulkan-tutorial.com/Introduction

License: GNU General Public License v3.0

CMake 0.24% Shell 0.01% C 23.01% C++ 74.85% SCSS 0.04% HTML 0.35% CSS 0.15% JavaScript 0.19% Objective-C 0.61% Lua 0.27% Python 0.28% GLSL 0.01%
cross-compiling cross-platform linux mingw-w64 vulkan

hellovulkan's Introduction

helloVulkan

Learning vulkan!

This repo also cross compiles (mingw-w64) from Linux to Windows!

Screenshot from 2023-09-06 15-52-46

hellovulkan's People

Contributors

jerboa-app avatar

Watchers

 avatar

hellovulkan's Issues

Segfault adding class members

[solution]

valgrind --track-origins=yes ./build/HelloVK

told

Conditional jump or move depends on uninitialised value(s)
==52007==    at 0x48A4F83: vkCreateInstance (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.3.204)
==52007==    by 0x406E1A: Renderer::VulkanRenderer::VulkanRenderer(GLFWwindow*) (vulkan.cpp:42)
==52007==    by 0x414673: main (main.cpp:86)
==52007==  Uninitialised value was created by a stack allocation
==52007==    at 0x406CF6: Renderer::VulkanRenderer::VulkanRenderer(GLFWwindow*) (vulkan.cpp:6)

Bug was appInfo.apiVersion unititialised

fix add appInfo.apiVersion = VK_API_VERSION_1_0; in constructor

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.