diff options
author | Timothy Arceri <tarceri@itsqueeze.com> | 2018-06-12 14:37:21 +1000 |
---|---|---|
committer | Timothy Arceri <tarceri@itsqueeze.com> | 2018-06-13 10:27:11 +1000 |
commit | 1f4d975247e09041b73e43ab9e96db0f111d351c (patch) | |
tree | 1be14a28e29cc6cecb7ce5c135c53ab42b00eaac | |
parent | 1297f47b9f402aad50fdcfe99e0e0d8f4981a27a (diff) |
vkpipeline-db: add sType to pipeline info
This avoids hitting asserts in anv.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
-rw-r--r-- | run.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |