Skip to content
Snippets Groups Projects
Unverified Commit 80a6d55c authored by TheJackiMonster's avatar TheJackiMonster
Browse files

Some windows fixes

parent d28fb5b5
No related branches found
No related tags found
1 merge request!106Created initial firework project
...@@ -9,6 +9,12 @@ option(BUILD_DOXYGEN_DOCS "Enables building the VkCV doxygen documentation" OFF) ...@@ -9,6 +9,12 @@ option(BUILD_DOXYGEN_DOCS "Enables building the VkCV doxygen documentation" OFF)
option(BUILD_SHARED "Enables building VkCV as shared libraries" OFF) option(BUILD_SHARED "Enables building VkCV as shared libraries" OFF)
option(BUILD_VMA_VULKAN_VERSION "Enforce a specific Vulkan version for VMA" OFF) option(BUILD_VMA_VULKAN_VERSION "Enforce a specific Vulkan version for VMA" OFF)
if ((WIN32) AND (NOT BUILD_VMA_VULKAN_VERSION))
set(BUILD_VMA_VULKAN_VERSION "1.3.0")
message(STATUS "HALLO!")
endif()
if (BUILD_PROJECTS) if (BUILD_PROJECTS)
set(BUILD_MODULES ${BUILD_PROJECTS}) set(BUILD_MODULES ${BUILD_PROJECTS})
endif() endif()
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <cstdint> #include <cstdint>
#include <cmath> #include <cmath>
#include <vector>
#define A_CPU 1 #define A_CPU 1
#include <ffx_a.h> #include <ffx_a.h>
...@@ -235,8 +236,9 @@ namespace vkcv::algorithm { ...@@ -235,8 +236,9 @@ namespace vkcv::algorithm {
{ m_descriptorSetLayout } { m_descriptorSetLayout }
}); });
uint32_t zeroes [m_globalCounter.getCount()]; std::vector<uint32_t> zeroes;
memset(zeroes, 0, m_globalCounter.getSize()); zeroes.resize(m_globalCounter.getCount());
memset(zeroes.data(), 0, m_globalCounter.getSize());
m_globalCounter.fill(zeroes); m_globalCounter.fill(zeroes);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment