Jon Leech 5abf83f95d Change log for April 16, 2019 Vulkan 1.1.107 spec update:
* Update release number to 107.

Public Issues:

  * Fix revision date for the `<<VK_AMD_gpu_shader_half_float>>` appendix
    (public issue 617).
  * Make <<synchronization-pipeline-barriers-subpass-self-dependencies,
    subpass self-dependencies>> less restrictive (public issue 777).
  * Fix the `<<VK_EXT_full_screen_exclusive>>` dependency on
    `<<VK_KHR_win32_surface>>` in `vk.xml` (public pull request 849).
  * Remove single-page (`apispec.html`) refpage sub-targets from the
    Makefile `allman` target and the build instructions. The target is still
    present in the Makefile, but we have not been actively maintaining the
    single-page document and do not promise it will work. The full
    Specification and the individual API reference pages are what we support
    and publish at present (public issue 949).

Internal Issues:

  * De-duplicate common valid usage statements shared by multiple commands
    or structures by using asciidoctor includes and dynamically assigning
    part of the valid usage ID based on which command or structure they're
    being applied to (internal issue 779).
  * Add reference pages for constructs not part of the formal API, such as
    platform calling convention macros, and script changes supporting them
    This required suppressing some check_spec_links warning classes in order
    to pass CI, until a more sophisticated fix can be done (internal issue
    888).
  * Change math notation for the elink:VkPrimitiveTopology descriptions to
    use short forms `v` and `p` instead of `vertex` and `primitive`,
    increasing legibility (internal issue 1611).
  * Rewrite generated file includes relative to a globally specified path,
    fixing some issues with refpage generation (internal issue 1630).
  * Update contributor list for `<<VK_EXT_calibrated_timestamps>>`.
  * Fix use of pathlin in `scripts/generator.py` so the script will work on
    Windows under Python 3.5 (internal merge request 3107).
  * Add missing conditionals around the
    <<descriptorsets-accelerationstructure, Acceleration Structure>>
    section (internal merge request 3108).
  * More script synchronization with OpenXR spec repository (internal merge
    request 3109).
  * Mark the `<<VK_AMD_gpu_shader_half_float>>` and
    `<<VK_AMD_gpu_shader_int16>>` extensions as deprecated in `vk.xml` and
    the corresponding extension appendices (internal merge request 3112).

New Extensions:

  * `<<VK_EXT_headless_surface>>`
2019-04-16 05:19:43 -07:00

237 lines
4.9 KiB
Ruby

# Copyright (c) 2016-2019 The Khronos Group Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
include ::Asciidoctor
class SpecInlineMacroBase < Extensions::InlineMacroProcessor
use_dsl
using_format :short
end
class NormativeInlineMacroBase < SpecInlineMacroBase
def text
'normative'
end
def process parent, target, attributes
'<strong class="purple">' + text + '</strong>'
end
end
class LinkInlineMacroBase < SpecInlineMacroBase
def process parent, target, attributes
if parent.document.attributes['cross-file-links']
return Inline.new(parent, :anchor, target, :type => :link, :target => (target + '.html')).convert
else
return Inline.new(parent, :anchor, target, :type => :xref, :target => ('#' + target), :attributes => {'fragment' => target, 'refid' => target}).convert
end
end
end
class CodeInlineMacroBase < SpecInlineMacroBase
def process parent, target, attributes
'<code>' + target + '</code>'
end
end
class StrongInlineMacroBase < SpecInlineMacroBase
def process parent, target, attributes
'<code>' + target + '</code>'
end
end
class ParamInlineMacroBase < SpecInlineMacroBase
def process parent, target, attributes
'<code>' + target + '</code>'
end
end
class CanInlineMacro < NormativeInlineMacroBase
named :can
match /can:(\w*)/
def text
'can'
end
end
class CannotInlineMacro < NormativeInlineMacroBase
named :cannot
match /cannot:(\w*)/
def text
'cannot'
end
end
class MayInlineMacro < NormativeInlineMacroBase
named :may
match /may:(\w*)/
def text
'may'
end
end
class MustInlineMacro < NormativeInlineMacroBase
named :must
match /must:(\w*)/
def text
'must'
end
end
class OptionalInlineMacro < NormativeInlineMacroBase
named :optional
match /optional:(\w*)/
def text
'optional'
end
end
class RequiredInlineMacro < NormativeInlineMacroBase
named :required
match /required:(\w*)/
def text
'required'
end
end
class ShouldInlineMacro < NormativeInlineMacroBase
named :should
match /should:(\w*)/
def text
'should'
end
end
class ReflinkInlineMacro < LinkInlineMacroBase
named :reflink
match /reflink:(\w+)/
end
class FlinkInlineMacro < LinkInlineMacroBase
named :flink
match /flink:(\w+)/
end
class FnameInlineMacro < StrongInlineMacroBase
named :fname
match /fname:(\w+)/
end
class FtextInlineMacro < StrongInlineMacroBase
named :ftext
match /ftext:([\w\*]+)/
end
class SnameInlineMacro < CodeInlineMacroBase
named :sname
match /sname:(\w+)/
end
class SlinkInlineMacro < LinkInlineMacroBase
named :slink
match /slink:(\w+)/
end
class StextInlineMacro < CodeInlineMacroBase
named :stext
match /stext:([\w\*]+)/
end
class EnameInlineMacro < CodeInlineMacroBase
named :ename
match /ename:(\w+)/
end
class ElinkInlineMacro < LinkInlineMacroBase
named :elink
match /elink:(\w+)/
end
class EtextInlineMacro < CodeInlineMacroBase
named :etext
match /etext:([\w\*]+)/
end
class PnameInlineMacro < ParamInlineMacroBase
named :pname
match /pname:(\w+(\.\w+)*)/
end
class PtextInlineMacro < ParamInlineMacroBase
named :ptext
match /ptext:([\w\*]+(\.[\w\*]+)*)/
end
class DnameInlineMacro < CodeInlineMacroBase
named :dname
match /dname:(\w+)/
end
class DlinkInlineMacro < LinkInlineMacroBase
named :dlink
match /dlink:(\w+)/
end
class TnameInlineMacro < CodeInlineMacroBase
named :tname
match /tname:(\w+)/
end
class TlinkInlineMacro < LinkInlineMacroBase
named :tlink
match /tlink:(\w+)/
end
class BasetypeInlineMacro < CodeInlineMacroBase
named :basetype
match /basetype:(\w+)/
end
class CodeInlineMacro < StrongInlineMacroBase
named :code
match /code:(\w+(\.\w+)*)/
end
# The tag: and attr: macros are only used in registry.txt
class TagInlineMacro < StrongInlineMacroBase
named :tag
match /tag:(\w+)/
end
class AttrInlineMacro < StrongInlineMacroBase
named :attr
match /attr:(\w+)/
end
# Does nothing - just markup that we've considered the use case
class UndefinedInlineMacro < SpecInlineMacroBase
named :undefined
match /undefined:/
def process parent, target, attributes
'undefined'
end
end