Remove sampler descriptions already in VU (#648)
- Remove bunch of `unnormalizedCoordinates` stuff that is already VU - Fix formatting of shader related `unnormalizedCoordinates` restrictions
This commit is contained in:
parent
dc3e0966e3
commit
84fcf6fb4e
|
@ -93,31 +93,18 @@ include::../api/structs/VkSamplerCreateInfo.txt[]
|
|||
y and z.
|
||||
When set to ename:VK_FALSE the range of image coordinates is zero to
|
||||
one.
|
||||
When pname:unnormalizedCoordinates is ename:VK_TRUE, samplers have the
|
||||
following requirements:
|
||||
** pname:minFilter and pname:magFilter must: be equal.
|
||||
** pname:mipmapMode must: be ename:VK_SAMPLER_MIPMAP_MODE_NEAREST.
|
||||
** pname:minLod and pname:maxLod must: be zero.
|
||||
** pname:addressModeU and pname:addressModeV must: each be either
|
||||
ename:VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE or
|
||||
ename:VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER.
|
||||
** pname:anisotropyEnable must: be ename:VK_FALSE.
|
||||
** pname:compareEnable must: be ename:VK_FALSE.
|
||||
ifdef::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[]
|
||||
** The sampler must: not enable sampler Y'C~B~C~R~ conversion.
|
||||
endif::VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion[]
|
||||
ifdef::VK_EXT_fragment_density_map[]
|
||||
** pname:flags must: not include
|
||||
ename:VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT
|
||||
endif::VK_EXT_fragment_density_map[]
|
||||
* When pname:unnormalizedCoordinates is ename:VK_TRUE, images the sampler
|
||||
is used with in the shader have the following requirements:
|
||||
+
|
||||
When pname:unnormalizedCoordinates is ename:VK_TRUE, images the sampler is
|
||||
used with in the shader have the following requirements:
|
||||
+
|
||||
** The pname:viewType must: be either ename:VK_IMAGE_VIEW_TYPE_1D or
|
||||
ename:VK_IMAGE_VIEW_TYPE_2D.
|
||||
** The image view must: have a single layer and a single mip level.
|
||||
* When pname:unnormalizedCoordinates is ename:VK_TRUE, image built-in
|
||||
functions in the shader that use the sampler have the following
|
||||
requirements:
|
||||
+
|
||||
When pname:unnormalizedCoordinates is ename:VK_TRUE, image built-in
|
||||
functions in the shader that use the sampler have the following
|
||||
requirements:
|
||||
+
|
||||
** The functions must: not use projection.
|
||||
** The functions must: not use offsets.
|
||||
|
||||
|
|
Loading…
Reference in New Issue