From c7da4946cdf10eafc6e0732597bca2e12d7fdb87 Mon Sep 17 00:00:00 2001 From: Jon Leech Date: Tue, 1 Oct 2024 19:09:20 -0700 Subject: [PATCH] Fix images pathname --- proposals/VK_EXT_device_generated_commands.adoc | 2 +- proposals/VK_EXT_shader_tile_image.adoc | 4 +++- proposals/template.adoc | 15 +++++++++------ 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/proposals/VK_EXT_device_generated_commands.adoc b/proposals/VK_EXT_device_generated_commands.adoc index a69aa5332..5db65f301 100644 --- a/proposals/VK_EXT_device_generated_commands.adoc +++ b/proposals/VK_EXT_device_generated_commands.adoc @@ -7,7 +7,7 @@ :refpage: https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/ :sectnums: // Required so images render in github -ifndef::images[:images: ..] +ifndef::images[:images: ../images] This document details API design for indirect execution of device generated commands, improving performance by eliminating unnecessary host and device work. diff --git a/proposals/VK_EXT_shader_tile_image.adoc b/proposals/VK_EXT_shader_tile_image.adoc index af2e5e182..5f65831a0 100644 --- a/proposals/VK_EXT_shader_tile_image.adoc +++ b/proposals/VK_EXT_shader_tile_image.adoc @@ -7,7 +7,7 @@ :refpage: https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/ :sectnums: // Required so images render in github -ifndef::images[:images: ..] +ifndef::images[:images: ../images] `VK_EXT_shader_tile_image` is a device extension that explicitly enables access to on-chip pixel data. For GPUs supporting this extension, it is a replacement for many use-cases for subpasses, which are not available when the `VK_KHR_dynamic_rendering` extension is used. @@ -87,6 +87,8 @@ Tile image variables currently have to 'alias' a color attachment location, and === Concept +images = {images} path = {images}/proposals/tile_image.svg + image::{images}/proposals/tile_image.svg[align="center",title="Tile Image",align="center",opts="{imageopts}"] Introduce the concept of a 'tile image'. When the extension is enabled, the framebuffer is logically divided into a grid of non-overlapping tiles called tile images. diff --git a/proposals/template.adoc b/proposals/template.adoc index 9b4e49acb..09dd839cb 100644 --- a/proposals/template.adoc +++ b/proposals/template.adoc @@ -7,12 +7,7 @@ :refpage: https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/ :sectnums: // Required so images render in github -ifndef::images[:images: ..] - -// NOTE: -// If adding an image to a proposal document, it must be located in -// ../images/proposals/, and referred to as -// image::{images}/proposals/filename.svg[image options] +ifndef::images[:images: ../images] .How to Use This Document [NOTE] @@ -27,6 +22,14 @@ GitHub and GitLab asciidoctor renderers. When calling out existing API constructs or extensions, the `refpage` attribute should be used to link to the relevant Khronos reference page. For example - "...used to extend link:{refpage}VkGraphicsPipelineCreateInfo.html[VkGraphicsPipelineCreateInfo]..." + +If adding an image to a proposal document, it must be located in +`../images/proposals/`, and referred to as + +[source,asciidoc] +---- +image::{images}/proposals/filename.svg[image options] +---- ==== A short summary of this proposal should be written here.