mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-02-18 09:16:51 +00:00
* Bump API patch number and header version number to 20 for this update. Github Issues: * Replaced existing reference pages by text automatically extracted from the specification source, or generated from vk.xml in some cases. This isn't a complete solution for the reference pages, but puts them in a much better state. The ref pages (only) are now placed under a CC BY open source license, which is more current than the obsolete license previously used. Further improvements to the pages should not edit them directly, but instead concentrate on the specification source from which the ref pages are being extracted (public issues 44, 55, 160; internal issue 389).
60 lines
1.6 KiB
Plaintext
60 lines
1.6 KiB
Plaintext
// Copyright (c) 2014-2016 Khronos Group. This work is licensed under a
|
|
// Creative Commons Attribution 4.0 International License; see
|
|
// http://creativecommons.org/licenses/by/4.0/
|
|
|
|
VkPushConstantRange(3)
|
|
======================
|
|
|
|
Name
|
|
----
|
|
VkPushConstantRange - Structure specifying a push constant range
|
|
|
|
C Specification
|
|
---------------
|
|
|
|
// refBegin VkPushConstantRange - Structure specifying a push constant range
|
|
|
|
The sname:VkPushConstantRange structure is defined as:
|
|
|
|
include::../structs/VkPushConstantRange.txt[]
|
|
|
|
|
|
Members
|
|
-------
|
|
|
|
* pname:stageFlags is a set of stage flags describing the shader
|
|
stages that will access a range of push constants. If a particular stage
|
|
is not included in the range, then accessing members of that range of
|
|
push constants from the corresponding shader stage will result in
|
|
undefined data being read.
|
|
* pname:offset and pname:size are the start offset and size,
|
|
respectively, consumed by the range. Both pname:offset and pname:size
|
|
are in units of bytes and must: be a multiple of 4. The layout of
|
|
the push constant variables is specified in the shader.
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
include::../validity/structs/VkPushConstantRange.txt[]
|
|
|
|
|
|
See Also
|
|
--------
|
|
|
|
slink:VkPipelineLayoutCreateInfo, elink:VkShaderStageFlags
|
|
|
|
|
|
Document Notes
|
|
--------------
|
|
|
|
For more information, see the Vulkan Specification at URL
|
|
|
|
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkPushConstantRange
|
|
|
|
This page is extracted from the Vulkan Specification.
|
|
Fixes and changes should be made to the Specification,not directly.
|
|
|
|
include::footer.txt[]
|
|
|