Skip to content

Conversation

@walcht
Copy link

@walcht walcht commented Oct 20, 2025

Add C-API and improve/address misc issues:

  • add equivalent C-API snippets
  • add a small introduction to the views concept in Vulkan
  • adjust for consistent use of designated initializers
  • add consistent 80-column width formatting
  • improve wordings and structure

See: this closed PR

- add equivalent C-API snippets
- add a small introduction to the views concept in Vulkan
- adjust for consistent use of designated initializers
- add consistent 80-column width formatting
- improve wordings and structure
- add equivalent C-API snippets for the 01_Swap_chain chapter
- remove redundant code snippets
- add consistent formatting (same clang-format applied to attachments/
  except with a 100 column limit)
- fix inconsistencies in C++ RAII code snippets (e.g., using
  non-declared variables, declaring imageCount then not using it, etc.)
- re-adjust some paragraphs so they fit within 80 column limit (this was
  obviously done before but inconsistently)
- add equivalent C-API snippets for the 01_Shader_modules chapter
- fix Slang syntax highlighting
- add equivalent C-API snippets for the 02_Fixed_functions chapter
- readjust dynamic state section position (no reason to jump directly
  into it at the beginning of the chapter)
- format code snippets
- misc restructuring (dynamic state is all over the place, optional
  fields are omitted inconsistently, etc.)
- add equivalent C-API snippets for the 03_Render_passes chapter
- fix snippets formatting (using attachments/.clang-format with 100
  column limit)
- readjust text for consistent 80 column width (same as initial
  chapters)
- add equivalent C-API snippets for the 04_Conclusion chapter
- format code snippets
- restructure code (no reason to refill the VkGraphicsPipelineCreateInfo
  struct again - it was already filled in previous chapter)
- misc restructuring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant