Skip to content

Mapping the buffer twice Exception on GL3+ & Vulkan Render Systems #59

Description

@P-S-Y-S-U

Hi, if I use "COLIBRI_MULTIPASS_SUPPORT" I get ""Mapping the buffer twice within the same frame detected! This is not allowed." exception on Vulkan and OpenGL3+ rendering systems.

Here's how i setup my compositor node ( check out the note on this ):

target rt_renderwindow
{
    pass render_scene
    {
        load
        {
            all clear
            clear_colour 1.0 1.0 1.0 1.0
        }
        store
        {
            all store_or_resolve
        }
        rq_first 6
        rq_last 7

        profiling_id "Bg Pass"
    }

    pass custom colibri_gui // Note: if i didn't define this custom pass i don't get any exception
    {
        skip_load_store_semantics false
        identifier 123
        profiling_id "Back Colibri GUI"
        aspect_ratio_mode keep_width
    }

    pass render_scene
    {
        skip_load_store_semantics true

        rq_first 7
        rq_last 200
        
        profiling_id "Main Objects Pass"
    }

    pass custom colibri_gui
    {
        skip_load_store_semantics false
        identifier 456
        profiling_id "Front Colibri GUI"
        aspect_ratio_mode keep_width
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions