forked from KhronosGroup/Vulkan-Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change log for April 16, 2020 Vulkan 1.2.138 spec update:
* Update release number to 138 for this update. Github Issues: * Use correctly tagged normative term macros in various places (public pull request 1217). * Fix C arrow markup in parameter descriptions (public pull request 1222). Internal Issues: * Add language to the <<features-requirements, Feature Requirements>> section, the <<versions, Core Revisions>> appendix, and the applicable extensions to require major feature bits if the corresponding extension is supported (internal issue 1961). * Allow slink:VkAccelerationStructureCreateInfoKHR::pname:maxGeometryCount = 0, and clarify that exactly one of pname:compactedSize and pname:maxGeometryCount must: be zero. (internal issue 2079). * Add `allowduplicate` attribute to XML `type` tags to enable future structures which can allow multiple copies of a structure in their pname:pNext chain (internal issue 2090). * Add the glossary term "`format features`", and make minor clarifications to uses of this term in several places in the <<resources, Resource Creation>> chapter and the <<resources-sampler-ycbcr-conversion-format-features, Sampler Ycbcr Conversion Format Features>> section (internal merge request 3727). * Add a constraint to the <<memory-external-android-hardware-buffer, Android Hardware Buffer>> section requiring that bound slink:VkImage or slink:VkBuffer objects be created with the ename:VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID flag set, and corresponding valid usage statements to flink:vkBindBufferMemory, slink:VkBindBufferMemoryInfo, flink:vkBindImageMemory, and slink:VkBindImageMemoryInfo (internal merge request 3732). * Fix pname:memoryTypes ordering description for device coherent memory (ename:VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD) in the <<memory-device-bitmask-list>> section (internal merge request 3738). * Replace code:AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT with code:AHARDWAREBUFFER_USAGE_GPU_FRAMEBUFFER in the <<memory-external-android-hardware-buffer-usage, AHardwareBuffer Usage Equivalence>> table, and add ename:VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT flag for this case (internal merge request 3741). * Add more references to `NV` and `KHR` ray tracing pipelines in discussions of creating pipelines, or generalize text so they need not all be mentioned by name (internal merge request 3743). * Allow *ShaderCallKHR* memory scope in ray tracing shaders, in the <<spirvenv-module-validation, Validation Rules within a Module>> appendix (internal merge request 3744). * Use Khronos Dockerhub image for spec builds in internal CI (internal merge request 3748). * Add the `<<VK_KHR_dedicated_allocation>>` extension as a dependency of `<<VK_ANDROID_external_memory_android_hardware_buffer>>` (internal merge request 3751).
- Loading branch information
Showing
37 changed files
with
515 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,18 @@ | ||
# Gitlab CI file for vulkan spec and header generation | ||
|
||
image: ruby:2.7 | ||
# All stages use the same Docker image, so there are no prerequisites | ||
image: khronosgroup/docker-images:vulkan-docs | ||
|
||
# Build the vulkan specification and generate any associated files (such as vulkan.h) | ||
spec-generate: | ||
stage: build | ||
before_script: | ||
# Add Node.js to the apt registry | ||
- curl -sL https://deb.nodesource.com/setup_12.x | bash - | ||
- apt-get update -qq | ||
- apt-get install -y -qq --no-install-recommends bash bison build-essential cmake flex fonts-lyx clang gcc ghostscript git gosu g++ jing libavalon-framework-java libbatik-java libcairo2-dev libffi-dev libgdk-pixbuf2.0-dev libpango1.0-dev libreadline-dev libxml2-dev nodejs pdftk poppler-utils python3 python3-pytest python3-termcolor tcsh | ||
- apt-get clean | ||
- gem install asciidoctor asciidoctor-diagram asciidoctor-mathematical asciidoctor-pdf coderay json-schema i18n | ||
- npm install -g escape-string-regexp he [email protected] | ||
# Nothing, all prerequisites are in the Docker image | ||
script: | ||
- NODE_PATH="/usr/lib/node_modules" | ||
- export NODE_PATH | ||
# Internal self-test of the check_spec_links script | ||
- ( cd scripts && py.test-3 test*.py && echo "${NODE_PATH}" ) | ||
- ( cd scripts && py.test-3 test*.py ) | ||
- mkdir -p out/checks | ||
- scripts/check_spec_links.py --html=out/checks/problems.html > /dev/null || true | ||
# Breaking the build if # of errors increases. We should manually ratchet ignore_count down as errors get fixed. | ||
|
@@ -26,8 +21,8 @@ spec-generate: | |
# errors" but simpler than the alternatives (running against master, | ||
# diff, etc) | ||
- scripts/check_spec_links.py -Werror --ignore_count 0 | ||
# Build the actual spec | ||
- ./makeAllExts QUIET= -j${nproc} -Otarget validusage html styleguide registry manhtmlpages | ||
# Build the actual spec, and other common targets | ||
- ./makeAllExts QUIET= -j${nproc} -Otarget manhtmlpages validusage styleguide registry html > out/ERRS.QUIET=.all 2>&1 | ||
# Build headers, for use by all later stages | ||
- ( cd xml && make validate test install ) | ||
artifacts: | ||
|
@@ -36,15 +31,14 @@ spec-generate: | |
- include/ | ||
- src/ | ||
- out/ | ||
expire_in: 1 month | ||
- gen/meta/ | ||
expire_in: 1 week | ||
|
||
# Generate the vulkan C++ header (vulkan.hpp) | ||
hpp-generate: | ||
stage: build | ||
before_script: | ||
- SPEC_DIR="${PWD}" | ||
- apt-get update -qq | ||
- apt-get install -y -qq --no-install-recommends cmake git g++ | ||
- cd /tmp | ||
- rm -rf Vulkan-Hpp | ||
- git clone https://github.com/KhronosGroup/Vulkan-Hpp.git | ||
|
@@ -66,22 +60,21 @@ hpp-generate: | |
artifacts: | ||
paths: | ||
- Vulkan-Hpp/vulkan/ | ||
expire_in: 1 month | ||
expire_in: 1 week | ||
allow_failure: true | ||
|
||
# Compile a simple test program that uses vulkan.h | ||
# The fake platform headers in tests/ allow compiling with all Vulkan | ||
# platforms at once. | ||
h-compile: | ||
stage: test | ||
dependencies: | ||
- spec-generate | ||
before_script: | ||
- apt-get update -qq | ||
- apt-get install -y -qq gcc clang | ||
script: | ||
- gcc -c -std=c11 -Iinclude -Itests -Wall -Wextra -Werror tests/htest.c | ||
- clang -c -std=c11 -Iinclude -Itests -Wall -Wextra -Werror tests/htest.c | ||
stage: test | ||
dependencies: | ||
- spec-generate | ||
before_script: | ||
# Nothing, all prerequisites are in the Docker image | ||
script: | ||
- gcc -c -std=c11 -Iinclude -Itests -Wall -Wextra -Werror tests/htest.c | ||
- clang -c -std=c11 -Iinclude -Itests -Wall -Wextra -Werror tests/htest.c | ||
|
||
# Compile a simple test program that uses vulkan.hpp | ||
hpp-compile: | ||
|
@@ -90,8 +83,7 @@ hpp-compile: | |
- spec-generate | ||
- hpp-generate | ||
before_script: | ||
- apt-get update -qq | ||
- apt-get install -y -qq g++ clang | ||
# Nothing, all prerequisites are in the Docker image | ||
script: | ||
- g++ -c -std=c++11 -Iinclude -IVulkan-Hpp -Wall -Wextra -Werror tests/hpptest.cpp | ||
- clang++ -c -std=c++11 -Iinclude -IVulkan-Hpp -Wall -Wextra -Werror tests/hpptest.cpp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.