mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Only use VkPipelineRasterizationStateStreamCreateInfoEXT if stream set
This commit is contained in:
@@ -739,7 +739,8 @@ void VulkanShaderCache::MakeGraphicsPipelineInfo(VkGraphicsPipelineCreateInfo &p
|
||||
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT,
|
||||
};
|
||||
|
||||
if(m_pDriver->GetExtensions(GetRecord(m_Device)).ext_EXT_transform_feedback)
|
||||
if(m_pDriver->GetExtensions(GetRecord(m_Device)).ext_EXT_transform_feedback &&
|
||||
pipeInfo.rasterizationStream != 0)
|
||||
{
|
||||
rastStream.rasterizationStream = pipeInfo.rasterizationStream;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user