From 7a14f5122c24a7199fd0e60645c0c1e6da909839 Mon Sep 17 00:00:00 2001 From: kearwood Date: Wed, 21 Sep 2022 18:33:56 -0700 Subject: [PATCH] Fixed compilation errors resulting from updated git submodules. --- kraken/KRShaderManager.cpp | 10 ++++++++++ kraken/KRSurface.cpp | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/kraken/KRShaderManager.cpp b/kraken/KRShaderManager.cpp index a916d1f..34cba3c 100644 --- a/kraken/KRShaderManager.cpp +++ b/kraken/KRShaderManager.cpp @@ -218,6 +218,16 @@ const TBuiltInResource DefaultTBuiltInResource = { /* .maxTaskWorkGroupSizeY_NV = */ 1, /* .maxTaskWorkGroupSizeZ_NV = */ 1, /* .maxMeshViewCountNV = */ 4, + /* .maxMeshOutputVerticesEXT = */ 256, + /* .maxMeshOutputPrimitivesEXT = */ 256, + /* .maxMeshWorkGroupSizeX_EXT = */ 128, + /* .maxMeshWorkGroupSizeY_EXT = */ 128, + /* .maxMeshWorkGroupSizeZ_EXT = */ 128, + /* .maxTaskWorkGroupSizeX_EXT = */ 128, + /* .maxTaskWorkGroupSizeY_EXT = */ 128, + /* .maxTaskWorkGroupSizeZ_EXT = */ 128, + /* .maxMeshViewCountEXT = */ 4, + /* .maxDualSourceDrawBuffersEXT = */ 1, /* .limits = */ { /* .nonInductiveForLoops = */ 1, diff --git a/kraken/KRSurface.cpp b/kraken/KRSurface.cpp index e33eacd..35091ef 100644 --- a/kraken/KRSurface.cpp +++ b/kraken/KRSurface.cpp @@ -42,7 +42,7 @@ KRSurface::KRSurface(KRContext& context) #ifdef WIN32 , m_hWnd(hWnd) #endif - , m_deviceHandle(VK_NULL_HANDLE) + , m_deviceHandle(0) , m_surface(VK_NULL_HANDLE) , m_imageAvailableSemaphores{VK_NULL_HANDLE} , m_renderFinishedSemaphores{VK_NULL_HANDLE}