4 Commits

Author SHA1 Message Date
Dennis Brakhane 2ebee47c4b allocate application on heap instead of stack and delete it
This prevents problems with Vulkan debug layers that don't like
Vulkan calls to happen during C++ app shutdown.
2026-01-19 14:16:17 +01:00
Turánszki János 68c1616247 imgui example update 2025-09-28 07:11:33 +02:00
Dennis Brakhane 9efa9ddcfc cmake: add build flags for using AVX2 etc., work around GCC bug (#1167)
* cmake: work around GCC bug when compiling Jolt

* cmake: add build flags for using AVX2 etc.

On linux, AVX2 was used by default for compiling Jolt,
buy not in other parts, which clang doesn't like
(specifically inlining functions using a disabled instruction set)

So now, we just define some compile time options to enable/disable
AVX2, AVX, AVX512 etc. and make the compiler use the code for
everything, not just Jolt. By default, AVX2 is used.

Furthermore, the CMakeLists files were slightly refactored to be
a bit less messy.

* silence GCC warnings

* fix clang build on window

* disable another gcc warning-turned-error

* spring initialization fix

* size_t initializaed to 0 instead of -1

* remove initialization

---------

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
Co-authored-by: Turánszki János <turanszkij@gmail.com>
2025-07-13 16:24:39 +02:00
Turánszki János 94a34c51c1 refactored samples (#942) 2024-09-12 08:49:00 +02:00