Re: [Mesa-dev] [PATCH 1/2] vkpipeline-db: add sType to pipeline info

2018-06-12 Thread Samuel Pitoiset

Reviewed-by: Samuel Pitoiset 

On 06/12/2018 07:05 AM, Timothy Arceri wrote:

From: Timothy Arceri 

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 = >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;
  


___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [PATCH 1/2] vkpipeline-db: add sType to pipeline info

2018-06-12 Thread Timothy Arceri
On 12/06/18 18:46, Grazvydas Ignotas wrote> On Tue, Jun 12, 2018 at 8:07 
AM, Timothy Arceri  wrote:

From: Timothy Arceri 


localhost.localdomain?



Yeah I wrote these patches from an Intel machine I don't use very often, 
I've already fixed these locally :)

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [PATCH 1/2] vkpipeline-db: add sType to pipeline info

2018-06-12 Thread Grazvydas Ignotas
On Tue, Jun 12, 2018 at 8:07 AM, Timothy Arceri  wrote:
> From: Timothy Arceri 

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 = >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
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH 1/2] vkpipeline-db: add sType to pipeline info

2018-06-11 Thread Timothy Arceri
From: Timothy Arceri 

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 = >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

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH 1/2] vkpipeline-db: add sType to pipeline info

2018-06-11 Thread Timothy Arceri
From: Timothy Arceri 

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 = >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

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev