-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dynamic_blending
- Loading branch information
Showing
46 changed files
with
2,651 additions
and
1,600 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 |
---|---|---|
|
@@ -87,3 +87,5 @@ endif() | |
|
||
# Add vulkan app (runs all samples) | ||
add_subdirectory(app) | ||
|
||
add_subdirectory(antora) |
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Copyright 2022-2023 The Khronos Group Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Configure Vulkan Guide Antora tree with transformed markup files. | ||
# Branch selection may come later. For now it is the current branch. | ||
|
||
function(gatherAntoraAssets) | ||
set(DIRS_TO_SEARCH | ||
app | ||
assets | ||
components | ||
docs | ||
framework | ||
samples | ||
scripts | ||
shaders | ||
tests | ||
) | ||
set(PAGES_DIR_SEARCH) | ||
set(IMAGES_DIR_SEARCH) | ||
foreach (DIR ${DIRS_TO_SEARCH}) | ||
list(APPEND PAGES_DIR_SEARCH ${CMAKE_SOURCE_DIR}/${DIR}/*.adoc) | ||
list(APPEND IMAGES_DIR_SEARCH ${CMAKE_SOURCE_DIR}/${DIR}/*.jpg ${CMAKE_SOURCE_DIR}/${DIR}/*.png ${CMAKE_SOURCE_DIR}/${DIR}/*.gif) | ||
endforeach () | ||
file(GLOB PAGES ${CMAKE_SOURCE_DIR}/*.adoc) | ||
file(GLOB IMAGES ${CMAKE_SOURCE_DIR}/*.jpg ${CMAKE_SOURCE_DIR}/*.png ${CMAKE_SOURCE_DIR}/*.gif) | ||
file(GLOB_RECURSE PAGES_R ${PAGES_DIR_SEARCH}) | ||
file(GLOB_RECURSE IMAGES_R ${IMAGES_DIR_SEARCH}) | ||
|
||
foreach(page ${PAGES}) | ||
file(COPY ${page} DESTINATION ${CMAKE_CURRENT_LIST_DIR}/modules/ROOT/pages) | ||
endforeach () | ||
|
||
foreach(image ${IMAGES}) | ||
file(COPY ${image} DESTINATION ${CMAKE_CURRENT_LIST_DIR}/modules/ROOT/images) | ||
endforeach () | ||
|
||
foreach (page ${PAGES_R}) | ||
file(RELATIVE_PATH relpage ${CMAKE_SOURCE_DIR} ${page}) | ||
get_filename_component(directory ${relpage} DIRECTORY) | ||
file(COPY ${page} DESTINATION ${CMAKE_CURRENT_LIST_DIR}/modules/ROOT/pages/${directory}) | ||
endforeach () | ||
|
||
foreach(image ${IMAGES_R}) | ||
file(RELATIVE_PATH relpage ${CMAKE_SOURCE_DIR} ${image}) | ||
get_filename_component(directory ${relpage} DIRECTORY) | ||
file(COPY ${image} DESTINATION ${CMAKE_CURRENT_LIST_DIR}/modules/ROOT/images/${directory}) | ||
endforeach () | ||
endfunction() | ||
|
||
if(VKB_GENERATE_ANTORA_SITE) | ||
gatherAntoraAssets() | ||
endif() |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2022-2023 The Khronos Group Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: samples | ||
title: Vulkan Samples | ||
version: latest | ||
start_page: README.adoc | ||
asciidoc: | ||
attributes: | ||
source-language: asciidoc@ | ||
table-caption: false | ||
nav: | ||
- modules/ROOT/nav.adoc |
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 |
---|---|---|
@@ -0,0 +1,107 @@ | ||
//// | ||
- Copyright (c) 2023, Holochip Inc | ||
- | ||
- SPDX-License-Identifier: Apache-2.0 | ||
- | ||
- 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. | ||
- | ||
//// | ||
* xref:README.adoc[Readme] | ||
* xref:vulkan_basics.adoc[Vulkan basics] | ||
* xref:framework/README.adoc[Sample framework] | ||
* xref:api/README.adoc[Api usage samples] | ||
** xref:api/compute_nbody/README.adoc[Compute N-body❕] | ||
*** xref:api/hpp_compute_nbody/README.adoc[hpp compute nbody❕] | ||
** xref:api/dynamic_uniform_buffers/README.adoc[Dynamic uniform buffers❕] | ||
*** xref:api/hpp_dynamic_uniform_buffers/README.adoc[hpp dynamic uniform buffers❕] | ||
** xref:api/hdr/README.adoc[HDR❕] | ||
*** xref:api/hpp_hdr/README.adoc[hpp hdr❕] | ||
** xref:api/hello_triangle/README.adoc[Hello Triangle❕] | ||
*** xref:api/hpp_hello_triangle/README.adoc[hpp hello triangle❕] | ||
** xref:api/hlsl_shaders/README.adoc[HLSL Shaders] | ||
*** xref:api/hpp_hlsl_shaders/README.adoc[hpp hlsl shaders] | ||
** xref:api/instancing/README.adoc[Instancing❕] | ||
*** xref:api/hpp_instancing/README.adoc[hpp instancing❕] | ||
** xref:api/separate_image_sampler/README.adoc[Separate image sampler] | ||
*** xref:api/hpp_separate_image_sampler/README.adoc[hpp separate image sampler] | ||
** xref:api/terrain_tessellation/README.adoc[Terrain tessellation❕] | ||
*** xref:api/hpp_terrain_tessellation/README.adoc[hpp terrain tessellation❕] | ||
** xref:api/texture_loading/README.adoc[Texture loading❕] | ||
*** xref:api/hpp_texture_loading/README.adoc[hpp texture loading❕] | ||
** xref:api/texture_mipmap_generation/README.adoc[Texture mipmap generation] | ||
*** xref:api/hpp_texture_mipmap_generation/README.adoc[hpp texture mipmap generation] | ||
** xref:api/timestamp_queries/README.adoc[Timestamp queries] | ||
*** xref:api/hpp_timestamp_queries/README.adoc[hpp timestamp queries] | ||
* xref:extensions/README.adoc[Extension usage samples] | ||
** xref:extensions/buffer_device_address/README.adoc[Buffer device address] | ||
** xref:extensions/calibrated_timestamps/README.adoc[Calibrated timestamps] | ||
** xref:extensions/conditional_rendering/README.adoc[Conditional rendering] | ||
** xref:extensions/conservative_rasterization/README.adoc[Conservative rasterization❕] | ||
** xref:extensions/debug_utils/README.adoc[Debug utils] | ||
** xref:extensions/descriptor_buffer_basic/README.adoc[Descriptor buffer basic] | ||
** xref:extensions/descriptor_indexing/README.adoc[Descriptor indexing] | ||
** xref:extensions/dynamic_rendering/README.adoc[Dynamic rendering] | ||
** xref:extensions/extended_dynamic_state2/README.adoc[Extended dynamic state2] | ||
** xref:extensions/fragment_shader_barycentric/README.adoc[Fragment shader barycentric] | ||
** xref:extensions/fragment_shading_rate/README.adoc[Fragment shading rate❕] | ||
** xref:extensions/fragment_shading_rate_dynamic/README.adoc[Fragment shading rate dynamic] | ||
** xref:extensions/full_screen_exclusive/README.adoc[Full screen exclusive] | ||
** xref:extensions/graphics_pipeline_library/README.adoc[Graphics pipeline library] | ||
** xref:extensions/logic_op_dynamic_state/README.adoc[Logic op dynamic state] | ||
** xref:extensions/memory_budget/README.adoc[Memory budget] | ||
** xref:extensions/mesh_shader_culling/README.adoc[Mesh shader culling] | ||
** xref:extensions/mesh_shading/README.adoc[Mesh shading❕] | ||
** xref:extensions/open_cl_interop/README.adoc[OpenCL interop (Cross-vendor)] | ||
** xref:extensions/open_cl_interop_arm/README.adoc[OpenCl interop (Arm)] | ||
** xref:extensions/open_gl_interop/README.adoc[OpenGL interop❕] | ||
** xref:extensions/portability/README.adoc[Portability] | ||
** xref:extensions/push_descriptors/README.adoc[Push descriptors❕] | ||
** xref:extensions/raytracing_basic/README.adoc[Raytracing basic❕] | ||
** xref:extensions/raytracing_extended/README.adoc[Raytracing extended] | ||
** xref:extensions/ray_queries/README.adoc[Ray queries❕] | ||
** xref:extensions/ray_tracing_reflection/README.adoc[Ray tracing reflection] | ||
** xref:extensions/synchronization_2/README.adoc[Synchronization 2❕] | ||
** xref:extensions/timeline_semaphore/README.adoc[Timeline semaphore] | ||
** xref:extensions/vertex_dynamic_state/README.adoc[Vertex dynamic state] | ||
* xref:performance/README.adoc[Performance samples] | ||
** xref:performance/16bit_arithmetic/README.adoc[16bit arithmetic] | ||
** xref:performance/16bit_storage_input_output/README.adoc[16bit storage input output] | ||
** xref:performance/afbc/README.adoc[AFBC] | ||
** xref:performance/async_compute/README.adoc[Async compute] | ||
** xref:performance/command_buffer_usage/README.adoc[Command buffer usage] | ||
** xref:performance/constant_data/README.adoc[Constant data] | ||
** xref:performance/descriptor_management/README.adoc[Descriptor management] | ||
** xref:performance/layout_transitions/README.adoc[Layout transitions] | ||
** xref:performance/msaa/README.adoc[MSAA] | ||
** xref:performance/multithreading_render_passes/README.adoc[Multithreading render passes] | ||
** xref:performance/multi_draw_indirect/README.adoc[Multi draw indirect] | ||
** xref:performance/pipeline_barriers/README.adoc[Pipeline barriers] | ||
** xref:performance/pipeline_cache/README.adoc[Pipeline cache] | ||
*** xref:performance/hpp_pipeline_cache/README.adoc[hpp pipeline cache] | ||
** xref:performance/render_passes/README.adoc[Render passes] | ||
** xref:performance/specialization_constants/README.adoc[Specialization constants] | ||
** xref:performance/subpasses/README.adoc[Subpasses] | ||
** xref:performance/surface_rotation/README.adoc[Surface rotation] | ||
** xref:performance/swapchain_images/README.adoc[Swapchain images] | ||
*** xref:performance/hpp_swapchain_images/README.adoc[hpp swapchain images] | ||
** xref:performance/texture_compression_basisu/README.adoc[Texture compression basisu] | ||
** xref:performance/texture_compression_comparison/README.adoc[Texture compression comparison❕] | ||
** xref:performance/wait_idle/README.adoc[Wait idle] | ||
* xref:tooling/README.adoc[Tooling samples] | ||
** xref:tooling/profiles/README.adoc[Profiles] | ||
* xref:docs/README.adoc[General documentation] | ||
** xref:docs/build.adoc[Build guide] | ||
** xref:docs/create_sample.adoc[Creating a new sample] | ||
** xref:docs/debug_graphs.adoc[Debug graphics] | ||
** xref:docs/memory_limits.adoc[Memory limits] | ||
** xref:docs/misc.adoc[Miscellaneous] |
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.