From 5b8773c6ea2d8357888aca6ca730326d8768628c Mon Sep 17 00:00:00 2001 From: Petr Kraus Date: Mon, 11 Dec 2017 01:36:37 +0100 Subject: [PATCH] Fix CUBIC feature flag documentation - correct ul below `VkFormatFeatureFlagBits` - document in extension appendic --- doc/specs/vulkan/appendices/VK_IMG_filter_cubic.txt | 3 +++ .../filter_cubic_sampled_bit_description.txt | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/specs/vulkan/appendices/VK_IMG_filter_cubic.txt b/doc/specs/vulkan/appendices/VK_IMG_filter_cubic.txt index 27e065f8..4d278da4 100644 --- a/doc/specs/vulkan/appendices/VK_IMG_filter_cubic.txt +++ b/doc/specs/vulkan/appendices/VK_IMG_filter_cubic.txt @@ -17,6 +17,9 @@ using fixed texture sampling hardware. * Extending elink:VkFilter: ** ename:VK_FILTER_CUBIC_IMG + * Extending elink:VkFormatFeatureFlagBits + ** ename:VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG + === Example Creating a sampler with the new filter for both magnification and diff --git a/doc/specs/vulkan/chapters/VK_IMG_filter_cubic/filter_cubic_sampled_bit_description.txt b/doc/specs/vulkan/chapters/VK_IMG_filter_cubic/filter_cubic_sampled_bit_description.txt index 54ab9421..fbd39f49 100644 --- a/doc/specs/vulkan/chapters/VK_IMG_filter_cubic/filter_cubic_sampled_bit_description.txt +++ b/doc/specs/vulkan/chapters/VK_IMG_filter_cubic/filter_cubic_sampled_bit_description.txt @@ -1,5 +1,5 @@ -ename:VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG:: - sname:VkImage can: be used with a sampler that has either of + * ename:VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG specifies + that sname:VkImage can: be used with a sampler that has either of pname:magFilter or pname:minFilter set to ename:VK_FILTER_CUBIC_IMG, or be the source image for a blit with pname:filter set to ename:VK_FILTER_CUBIC_IMG.