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

Cascade no longer compiles #81

@DesiOtaku

Description

@DesiOtaku

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions