Skip to content

ShaderModuleCreateInfoBuilder::code accepts &[u8] and does not set size #384

Description

@barcharcraz

code_size is also provided but this is somewhat inconsistent with other builders that do set counts.

I suspect this is because the vulkan spec xml specifies the pCode member as

<member len="latexmath:[\textrm{codeSize} \over 4]" altlen="codeSize / 4">const <type>uint32_t</type>*            <name>pCode</name><comment>Binary code of size codeSize</comment></member>

and the vulkanalia generator can't deal with expressions and god forbid LaTeX inside len attributes.

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