Re: [Mesa-dev] [PATCH] Vulkan: Solve the vkCreateGraphicsPipelines crash

2017-03-18 Thread Jason Ekstrand
Seems reasonable Reviewed-by: Jason Ekstrand Cc: "17.0 13.0" On Sat, Mar 18, 2017 at 4:20 AM, Randy Xu wrote: > From: "Xu,Randy" > > The crash is due to NULL pColorBlendState, which is legal if the > pipeline has rasterization disabled or if the subpass of the render pass > the pipeline is c

[Mesa-dev] [PATCH] Vulkan: Solve the vkCreateGraphicsPipelines crash

2017-03-18 Thread Randy Xu
From: "Xu,Randy" The crash is due to NULL pColorBlendState, which is legal if the pipeline has rasterization disabled or if the subpass of the render pass the pipeline is created against does not use any color attachments. Test: Sample subpasses from LunarG can run without crash Signed-off-by: