Validates a SPIR-V binary for correctness. Any errors will be written into
*diagnostic if diagnostic is non-null, otherwise the context’s message
consumer will be used.
Validates a SPIR-V binary for correctness. Uses the provided Validator
options. Any errors will be written into *diagnostic if diagnostic is
non-null, otherwise the context’s message consumer will be used.
Creates a Validator options object with default options. Returns a valid
options object. The object remains valid until it is passed into
spvValidatorOptionsDestroy.
Records whether the validator should use “relaxed” block layout rules.
Relaxed layout rules are described by Vulkan extension
VK_KHR_relaxed_block_layout, and they affect uniform blocks, storage blocks,
and push constants.
Record whether or not the validator should relax the rules on types for
stores to structs. When relaxed, it will allow a type mismatch as long as
the types are structs with the same layout. Two structs have the same layout
if