summaryrefslogtreecommitdiffstats
path: root/src/vulkan/gen7_pipeline.c
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2015-08-27 12:04:41 -0700
committerKristian Høgsberg Kristensen <[email protected]>2015-09-03 11:53:09 -0700
commitc4dbff58d80c842794175f7b16cc0085ed2db940 (patch)
treeb41b8b205a5112711e3a7af82c0055ce04809ae8 /src/vulkan/gen7_pipeline.c
parentb5e90f3f48f6fe866f3c2f94745df82c959d09b5 (diff)
vk: Drop redundant gen7_CreateGraphicsPipelines
This is handled by anv_CreateGraphicsPipelines(). Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
Diffstat (limited to 'src/vulkan/gen7_pipeline.c')
-rw-r--r--src/vulkan/gen7_pipeline.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/vulkan/gen7_pipeline.c b/src/vulkan/gen7_pipeline.c
index 0ed4727c37f..599432ed68a 100644
--- a/src/vulkan/gen7_pipeline.c
+++ b/src/vulkan/gen7_pipeline.c
@@ -561,31 +561,6 @@ gen7_graphics_pipeline_create(
return VK_SUCCESS;
}
-VkResult gen7_CreateGraphicsPipelines(
- VkDevice _device,
- VkPipelineCache pipelineCache,
- uint32_t count,
- const VkGraphicsPipelineCreateInfo* pCreateInfos,
- VkPipeline* pPipelines)
-{
- VkResult result = VK_SUCCESS;
-
- unsigned i = 0;
- for (; i < count; i++) {
- result = gen7_graphics_pipeline_create(_device, &pCreateInfos[i],
- NULL, &pPipelines[i]);
- if (result != VK_SUCCESS) {
- for (unsigned j = 0; j < i; j++) {
- anv_DestroyPipeline(_device, pPipelines[j]);
- }
-
- return result;
- }
- }
-
- return VK_SUCCESS;
-}
-
VkResult gen7_compute_pipeline_create(
VkDevice _device,
const VkComputePipelineCreateInfo* pCreateInfo,