Skip to content

[Feature] Disable Descriptor Binding Validation #77

Description

@nickclark2016

I am currently trying to use vuk in conjunction with the VK_EXT_descriptor_buffer. Currently, I have shader code that resembles this:

layout (set = 0, binding = 0) buffer model_payload_buffer
{
    model_payload models[OBJECT_COUNT];
};

layout (set = 0, binding = 1) uniform scene_payload_buffer
{
    mat4 projection;
    mat4 view;
};

layout (set = 0, binding = 2) uniform texture2D texture_buffer[IMAGE_COUNT];
layout (set = 0, binding = 3) uniform sampler sampler_buffer[SAMPLER_COUNT];

When I go to draw with vuk, it tries to validate descriptor bindings and fails. I would like to have a mechanism to:

  1. Turn off descriptor binding for the command buffer
  2. Turn off descriptor binding validation for the command buffer
  3. Add descriptor strategy for user-defined descriptor buffer (discussed in discord)

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