-
Notifications
You must be signed in to change notification settings - Fork 462
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 May 10, 2024 Vulkan 1.3.285 spec update:
Public Issues * Update VkMemoryMapInfoKHR VUs to not require VK_WHOLE_SIZE with VK_MEMORY_MAP_PLACED_BIT (public issue 2350). * Add a <<fundamentals-strings, String Representation>> section and clarify that fixed-length string buffers in API structures always include the null terminator (public issue 2351). * Update refpage short descriptions of VkAttachmentLoad/StoreOp to be consistent with spec language (public issue 2353). * Clarify that the KHR and EXT load_store_op_none extensions were not promoted to Vulkan 1.3 (public PR 2357). Internal Issues * Add a VkGraphicsPipelineCreateInfo VU banning "`read-only`" input attachments without VkRenderingInputAttachmentIndexInfoKHR (internal issue 3862). * Add explicit reference to RayQueryPositionFetchKHR SPIR-V capability in the VK_KHR_ray_tracing_position_fetch extension appendix and XML spirvcapability tags (internal MR 6617). * Remove MaximallyReconvergesKHR capability (which is not a capability, but an execution mode) from XML (internal MR 6618). * Add alias and enum value-> type maps in `reg.py` (internal MR 6620). * Add missing shader object VU for vkCmdDispatchBase (internal MR 6623). * Make build tests less sensitive to asciidoctor versions and CSS changes by just comparing HTML body content (internal MR 6637). * Do not allow overlapping builtin decorations for an entry point in the <<interfaces-builtin-variables, Built-In Variables>> section, and add some related <<spirvenv-module-validation-standalone, Standalone SPIR-V Validation>> VUs (KhronosGroup/SPIRV-Cross issue 2313). New Extensions * VK_MESA_image_alignment_control
- Loading branch information
Showing
28 changed files
with
436 additions
and
7,177 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Copyright 2024 The Khronos Group Inc. | ||
// | ||
// SPDX-License-Identifier: CC-BY-4.0 | ||
|
||
include::{generated}/meta/{refprefix}VK_MESA_image_alignment_control.adoc[] | ||
|
||
=== Other Extension Metadata | ||
|
||
*Last Modified Date*:: | ||
2024-05-03 | ||
*IP Status*:: | ||
No known IP claims. | ||
*Contributors*:: | ||
- Hans-Kristian Arntzen, Valve | ||
|
||
=== Description | ||
|
||
This extension allows applications to request a narrower alignment for | ||
images than an implementation would otherwise require. | ||
Some implementations internally support multiple image layouts in | ||
ename:VK_IMAGE_TILING_OPTIMAL, each with different alignment requirements | ||
and performance trade-offs. | ||
In some API layering use cases such as D3D12, it is beneficial to be able to | ||
control the alignment, since certain alignments for placed resources are | ||
guaranteed to be supported, and emulating that expectation requires | ||
unnecessary padding of allocations. | ||
|
||
slink:VkImageAlignmentControlCreateInfoMESA can: be chained to | ||
slink:VkImageCreateInfo, requesting that the alignment is no more than the | ||
provided alignment. | ||
If the requested alignment is not supported for a given | ||
slink:VkImageCreateInfo, a larger alignment may: be returned. | ||
|
||
While something similar could be achieved with | ||
`apiext:VK_EXT_image_drm_format_modifier` in theory, this is not the | ||
intended way to use that extension. | ||
Format modifiers are generally used for externally shareable images, and | ||
would not be platform portable. | ||
It is also a cumbersome API to use just to lower the alignment. | ||
|
||
include::{generated}/interfaces/VK_MESA_image_alignment_control.adoc[] | ||
|
||
=== Version History | ||
|
||
* Revision 1, 2024-04-05 (Hans-Kristian Arntzen) | ||
** Initial specification |
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.