Skip to content

Commit

Permalink
Specify that the stored size of headerVersion is 4 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
elasota committed Jan 2, 2025
1 parent b04fc6a commit 5c0c5bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/pipelines.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7838,10 +7838,10 @@ with identical pipeline identifiers in the same pipeline cache.

Unlike most structures declared by the Vulkan API, all fields of this
structure are written with the least significant byte first, regardless of
host byte-order.
host byte-order, and the headerVersion field is written as exactly 4 bytes.

The C language specification does not define the packing of structure
members.
members or the size of enum types.
This layout assumes tight structure member packing, with members laid out in
the order listed in the structure, and the intended size of the structure is
56 bytes.
Expand Down

0 comments on commit 5c0c5bd

Please sign in to comment.