[Mesa-dev] [PATCH 1/2] vkpipeline-db: add sType to pipeline info
Timothy Arceri
tarceri at itsqueeze.com
Tue Jun 12 05:05:17 UTC 2018
From: Timothy Arceri <tarceri at localhost.localdomain>
This avoids hitting asserts in anv.
---
run.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/run.c b/run.c
index eafbd7d..a962887 100644
--- a/run.c
+++ b/run.c
@@ -264,6 +264,7 @@ create_graphics_pipeline(VkDevice device, struct pipeline_info *info,
return result;
/* Graphics pipeline. */
+ pipelineInfo.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO;
pipelineInfo.stageCount = info->stageCount;
pipelineInfo.pStages = info->pShaderStagesInfo;
pipelineInfo.pVertexInputState = &info->vertexInputState;
@@ -292,6 +293,7 @@ create_compute_pipeline(VkDevice device, struct pipeline_info *info,
VkComputePipelineCreateInfo pipelineInfo = {};
/* Compute pipeline. */
+ pipelineInfo.sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO;
pipelineInfo.stage = *info->pShaderStagesInfo;
pipelineInfo.layout = layout;
--
2.17.1
More information about the mesa-dev
mailing list