2016-07-11 01:13:41 +00:00
|
|
|
// 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/
|
|
|
|
|
2016-02-16 09:53:44 +00:00
|
|
|
vkCreateComputePipelines(3)
|
|
|
|
===========================
|
|
|
|
|
|
|
|
Name
|
|
|
|
----
|
|
|
|
vkCreateComputePipelines - Creates a new compute pipeline object.
|
|
|
|
|
|
|
|
C Specification
|
|
|
|
---------------
|
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
// refBegin vkCreateComputePipelines Creates a new compute pipeline object.
|
2016-02-16 09:53:44 +00:00
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
To create compute pipelines, call:
|
2016-02-16 09:53:44 +00:00
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
include::../protos/vkCreateComputePipelines.txt[]
|
2016-02-16 09:53:44 +00:00
|
|
|
|
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
Parameters
|
|
|
|
----------
|
2016-02-16 09:53:44 +00:00
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
* pname:device is the logical device that creates the compute pipelines.
|
|
|
|
* pname:pipelineCache is either dlink:VK_NULL_HANDLE, indicating that
|
|
|
|
pipeline caching is disabled; or the handle of a valid
|
|
|
|
<<pipelines-cache,pipeline cache>> object, in which case use of that
|
|
|
|
cache is enabled for the duration of the command.
|
|
|
|
* pname:createInfoCount is the length of the pname:pCreateInfos and
|
|
|
|
pname:pPipelines arrays.
|
|
|
|
* pname:pCreateInfos is an array of sname:VkComputePipelineCreateInfo
|
|
|
|
structures.
|
|
|
|
* pname:pAllocator controls host memory allocation as described in the
|
|
|
|
<<memory-allocation, Memory Allocation>> chapter.
|
|
|
|
* pname:pPipelines is a pointer to an array in which the resulting compute
|
|
|
|
pipeline objects are returned.
|
|
|
|
+
|
|
|
|
--
|
|
|
|
ifdef::editing-notes[]
|
|
|
|
[NOTE]
|
|
|
|
.editing-note
|
|
|
|
====
|
|
|
|
TODO (Jon) - Should we say something like ``the i'th element of the
|
|
|
|
pname:pPipelines array is created based on the corresponding element of the
|
|
|
|
pname:pCreateInfos array''? Also for flink:vkCreateGraphicsPipelines below.
|
|
|
|
====
|
|
|
|
endif::editing-notes[]
|
|
|
|
--
|
2016-02-16 09:53:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
include::../validity/protos/vkCreateComputePipelines.txt[]
|
2016-02-16 09:53:44 +00:00
|
|
|
|
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
See Also
|
|
|
|
--------
|
2016-02-16 09:53:44 +00:00
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
slink:VkAllocationCallbacks, slink:VkComputePipelineCreateInfo, slink:VkDevice, slink:VkPipeline, slink:VkPipelineCache
|
2016-02-16 09:53:44 +00:00
|
|
|
|
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
Document Notes
|
|
|
|
--------------
|
2016-02-16 09:53:44 +00:00
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
For more information, see the Vulkan Specification at URL
|
2016-02-16 09:53:44 +00:00
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkCreateComputePipelines
|
2016-02-16 09:53:44 +00:00
|
|
|
|
2016-07-11 01:13:41 +00:00
|
|
|
This page is extracted from the Vulkan Specification.
|
|
|
|
Fixes and changes should be made to the Specification,not directly.
|
2016-02-16 09:53:44 +00:00
|
|
|
|
|
|
|
include::footer.txt[]
|
2016-07-11 01:13:41 +00:00
|
|
|
|