1. 03 Dec, 2021 3 commits
    • StableCoder's avatar
      Reworked retreiving EnumValueSet · fbf1b563
      StableCoder authored
      The function has dropped the onerous use of a tuple in favour of using
      output parameters.
      The previous changes of all types being listed now also means that types
      can always be fully checked for existance rather than just returning
      success on non-found types.
    • StableCoder's avatar
      Added new 'nullAllowed' field for serialization · 0dca3f86
      StableCoder authored
      As has happened with the VkPipelineDepthStencilStateCreateFlagBits type,
      enum sets that were once empty may change in the future, and at that
      point not have a zero-value.
      This breaks backward compatability, and so a new field has been added
      that allows for empty fields/values if the type was once empty.
    • StableCoder's avatar
      Add v1.2.201 support · 7f272f07
      StableCoder authored
  2. 28 Nov, 2021 4 commits
  3. 24 Nov, 2021 1 commit
  4. 16 Nov, 2021 1 commit
  5. 14 Nov, 2021 2 commits
  6. 13 Oct, 2021 1 commit
  7. 05 Oct, 2021 1 commit
  8. 29 Sep, 2021 1 commit
  9. 26 Sep, 2021 1 commit
  10. 18 Sep, 2021 3 commits
  11. 09 Sep, 2021 1 commit
  12. 04 Sep, 2021 12 commits
    • StableCoder's avatar
      Added test for previously reserved values · c4181c67
      StableCoder authored
      Uses RenderPassCreate flag bits modified in v134.
    • StableCoder's avatar
      Changed serialization64 values · 20d5eaab
      StableCoder authored
      The chosen Huawei enum value was only available in a later extension, so
      swapped out for a value available with the original.
    • StableCoder's avatar
      Changed order of cleanup header · 62dc2e29
      StableCoder authored
      Structs are now in the order they originally appeared in the Vulkan
    • StableCoder's avatar
      Re-ordered error code values · d0eb39a4
      StableCoder authored
      When generating error codes, it will now output them in the order in
      which the values were added to the specification.
    • StableCoder's avatar
      Updated serialization header generation · fe3e7bfa
      StableCoder authored
      Due to the Vulkan XML being parsed newest to oldest, enum values that
      were reserved with that keyword in the name would be parsed after the
      replacement value and name, and thus be generated after in the enum set
      This meant that when serializing, the 'RESERVED' version would almost
      always be used instead of the replacement name. This was because the
      serialization function would go in reverse order in attempts to use
      larger combination values typically later in the enum list.
      To try to use the 'proper' names instead when they are available, when
      generating the header, if will now iterate through the available
      versions and write out only the enums that appeared in that version.
      This would lead to items added to the spec after to appear after, and
      thus be used for serialization instead.
    • StableCoder's avatar
      Fixed extension numbering for some extension enums · db568abd
      StableCoder authored
      Some enums can get added or modified in other later extensions and in
      such cases would inherit the incorrect extension  number.
      To fix, it now checks the enum for any speific 'extnumber' attribute and
      will use that if it exists instead for the correct value.
    • StableCoder's avatar
      Added guards around 64-bit serialization tests · 932142cc
      StableCoder authored
      The VkAccessFlagBits2KHR type that is one of the only two 64-bit flag
      types was added only recently, and as such not all platforms have it
      As such, the serialization64 tests are now guarded via the
      VK_KHR_synchronization2 define, which the flag types are part of.
    • StableCoder's avatar
      Fixed feature/extension enum parsing · 4c8ae6b3
      StableCoder authored
      In cases where there are no initial values for an enum, but a feature or
      extension extends it anyways, it would fail to find the enum node and
      crash with a None element.
    • StableCoder's avatar
      Minor change to generation script · 199df60e
      StableCoder authored
      Move the blurb about the default 72 starting value, and behaviour when
      the tag is below the set value to continue instead of break.
    • StableCoder's avatar
      Added tests for 64-bit Vulkan serialization · 1912231b
      StableCoder authored
    • StableCoder's avatar
      Removed the extra argument for xml parsing · ba0b2229
      StableCoder authored
      The -a option is no longer used.
    • StableCoder's avatar
      Added support for 64-bit enums and flags · 7ecca87a
      StableCoder authored
      There are two VkFlags64 types in Vulkan that must be handled,
      VkPipelineStageFlags2KHR and VkAccessFlags2KHR. To facilitate this, some
      64-bit functions have been added, and all the older 32-bit based
      functions coverted to 64-bit, and the 32 bit public functions delegate
      to these.
  13. 30 Aug, 2021 1 commit
  14. 18 Aug, 2021 1 commit
    • StableCoder's avatar
      Split the standalone example apps · 1039a418
      StableCoder authored
      Need to test the C headers both in a C and C++ compilation environment.
      Updated cleanup header for C++ support by adding an explicit C-style
      cast in the cleanup_vk_struct function.
  15. 17 Aug, 2021 7 commits