Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Cascade no longer compiles #81

Open
DesiOtaku opened this issue May 27, 2024 · 0 comments
Open

Cascade no longer compiles #81

DesiOtaku opened this issue May 27, 2024 · 0 comments

Comments

@DesiOtaku
Copy link

There appears to be two different issues:

First is the fact that ResourceLimits.h has been updated but SpvShaderCompiler.cpp hasn't.

Therefore the following variables do not get set:

    int maxMeshOutputVerticesEXT;
    int maxMeshOutputPrimitivesEXT;
    int maxMeshWorkGroupSizeX_EXT;
    int maxMeshWorkGroupSizeY_EXT;
    int maxMeshWorkGroupSizeZ_EXT;
    int maxTaskWorkGroupSizeX_EXT;
    int maxTaskWorkGroupSizeY_EXT;
    int maxTaskWorkGroupSizeZ_EXT;
    int maxMeshViewCountEXT;
    int maxDualSourceDrawBuffersEXT;

Therefore, something like this needs to be added in:


        /* maxMeshOutputVerticesEXT = */ 1,
        /* maxMeshOutputPrimitivesEXT = */ 1,
        /* maxMeshWorkGroupSizeX_EXT = */ 1,
        /* maxMeshWorkGroupSizeY_EXT = */ 1,
        /* maxMeshWorkGroupSizeZ_EXT = */ 1,
        /* maxTaskWorkGroupSizeX_EXT = */ 1,
        /* maxTaskWorkGroupSizeY_EXT = */ 1,
        /* maxTaskWorkGroupSizeZ_EXT = */ 1,
        /* maxMeshViewCountEXT = */ 1,
        /* maxDualSourceDrawBuffersEXT = */ 1,

on order make it compile

Then there is another error:

/usr/include/vulkan/vulkan.hpp:17947: error: request for member ‘getProcAddress<PFN_vkGetInstanceProcAddr>’ in ‘dl’, which is of pointer type ‘VkInstance_T* const’ (maybe you meant to use ‘->’ ?)
In file included from ../Cascade/src/renderer/vulkanhppinclude.h:25,
                 from ../Cascade/src/renderer/renderconfig.h:26,
                 from ../Cascade/src/renderer/vulkanrenderer.h:33,
                 from ../Cascade/src/vulkanview.cpp:27:
/usr/include/vulkan/vulkan.hpp: In instantiation of ‘void vk::DispatchLoaderDynamic::init(const DynamicLoader&) [with DynamicLoader = VkInstance_T*]’:
../Cascade/src/vulkanview.cpp:59:39:   required from here
/usr/include/vulkan/vulkan.hpp:17947:67: error: request for member ‘getProcAddress<PFN_vkGetInstanceProcAddr>’ in ‘dl’, which is of pointer type ‘VkInstance_T* const’ (maybe you meant to use ‘->’ ?)

Which I assume is a strange C++ error since this is directly from the Vulkan library.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant