Skip to content

Spec is out-dated and following wrong Git branch #13

@talex5

Description

@talex5

Makefile and configure.sh are both pulling the spec from https://raw.githubusercontent.com/KhronosGroup/Vulkan-Docs/master/xml/vk.xml. However, the master branch is no longer updated and recent changes go on main instead.

I had a go at using that, but unsurprisingly the spec format has changed and breaks Olivine.

In particular, v1.2.162 has:

<member len="2*ename:VK_UUID_SIZE" altlen="2*VK_UUID_SIZE">

The len attribute is missing the latexmath: prefix.

The XML was fixed in v1.2.188 to:

<member len="latexmath:[2 \times \mathtt{VK\_UUID\_SIZE}]" altlen="2*VK_UUID_SIZE">

Olivine doesn't parse that either.

I could update the latex parsing to handle that perhaps, but I'm wondering if there's a reason that Olivine doesn't use the altlen attribute instead.
(xml/registry.rnc says "altlen - if len has latexmath equations, this contains equivalent C99 expressions separated by commas")

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