diff --git a/doc/specs/vulkan/chapters/VK_KHR_display/display.txt b/doc/specs/vulkan/chapters/VK_KHR_display/display.txt index bb305e0b..1d80ba2c 100644 --- a/doc/specs/vulkan/chapters/VK_KHR_display/display.txt +++ b/doc/specs/vulkan/chapters/VK_KHR_display/display.txt @@ -392,9 +392,9 @@ include::../../api/structs/VkDisplayPlaneCapabilitiesKHR.txt[] this plane using the specified mode. * pname:minDstPosition, pname:maxDstPosition, pname:minDstExtent, pname:maxDstExtent all have similar semantics to their corresponding - ptext:Src* equivalents, but apply to the output region within the mode + ptext:*Src* equivalents, but apply to the output region within the mode rather than the input region within the source image. - Unlike the ptext:Src* offsets, pname:minDstPosition and + Unlike the ptext:*Src* offsets, pname:minDstPosition and pname:maxDstPosition may: contain negative values. The minimum and maximum position and extent fields describe the hardware diff --git a/doc/specs/vulkan/config/vulkan-macros/extension.rb b/doc/specs/vulkan/config/vulkan-macros/extension.rb index aef36950..330d4bb5 100644 --- a/doc/specs/vulkan/config/vulkan-macros/extension.rb +++ b/doc/specs/vulkan/config/vulkan-macros/extension.rb @@ -169,12 +169,12 @@ end class PnameInlineMacro < ParamInlineMacroBase named :pname - match /pname:((\w[\w.]*)*\w+)/ + match /pname:(\w+(\.\w+)*)/ end class PtextInlineMacro < ParamInlineMacroBase named :ptext - match /ptext:((\w[\w.]*)*\w+)/ + match /ptext:([\w\*]+(\.[\w\*]+)*)/ end class DnameInlineMacro < CodeInlineMacroBase