@@ -13,17 +13,17 @@ pub struct ValidatorOptions {
1313 /// if
1414 ///
1515 /// 1) the members of the structs are either the same type or are structs with
16- /// same layout, and
16+ /// same layout, and
1717 ///
1818 /// 2) the decorations that affect the memory layout are identical for both
19- /// types. Other decorations are not relevant.
19+ /// types. Other decorations are not relevant.
2020 pub relax_struct_store : bool ,
2121 /// Records whether or not the validator should relax the rules on pointer usage
2222 /// in logical addressing mode.
2323 ///
2424 /// When relaxed, it will allow the following usage cases of pointers:
25- /// 1) OpVariable allocating an object whose type is a pointer type
26- /// 2) OpReturnValue returning a pointer value
25+ /// 1) ` OpVariable` allocating an object whose type is a pointer type
26+ /// 2) ` OpReturnValue` returning a pointer value
2727 pub relax_logical_pointer : bool ,
2828 /// Records whether or not the validator should relax the rules because it is
2929 /// expected that the optimizations will make the code legal.
@@ -39,7 +39,7 @@ pub struct ValidatorOptions {
3939 pub before_legalization : bool ,
4040 /// Records whether the validator should use "relaxed" block layout rules.
4141 /// Relaxed layout rules are described by Vulkan extension
42- /// VK_KHR_relaxed_block_layout, and they affect uniform blocks, storage blocks,
42+ /// ` VK_KHR_relaxed_block_layout` , and they affect uniform blocks, storage blocks,
4343 /// and push constants.
4444 ///
4545 /// This is enabled by default when targeting Vulkan 1.1 or later.
@@ -51,7 +51,7 @@ pub struct ValidatorOptions {
5151 /// Records whether the validator should use "scalar" block layout rules.
5252 /// Scalar layout rules are more permissive than relaxed block layout.
5353 ///
54- /// See Vulkan extnesion VK_EXT_scalar_block_layout. The scalar alignment is
54+ /// See Vulkan extnesion ` VK_EXT_scalar_block_layout` . The scalar alignment is
5555 /// defined as follows:
5656 /// - scalar alignment of a scalar is the scalar size
5757 /// - scalar alignment of a vector is the scalar alignment of its component
@@ -60,9 +60,9 @@ pub struct ValidatorOptions {
6060 /// - scalar alignment of a struct is the max scalar alignment among its
6161 /// members
6262 ///
63- /// For a struct in Uniform, StorageClass, or PushConstant:
63+ /// For a struct in Uniform, ` StorageClass` , or ` PushConstant` :
6464 /// - a member Offset must be a multiple of the member's scalar alignment
65- /// - ArrayStride or MatrixStride must be a multiple of the array or matrix
65+ /// - ` ArrayStride` or ` MatrixStride` must be a multiple of the array or matrix
6666 /// scalar alignment
6767 pub scalar_block_layout : bool ,
6868 /// Records whether or not the validator should skip validating standard
0 commit comments