KhronosGroup / MoltenVK

MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
Apache License 2.0
4.76k stars 419 forks source link

MVKGraphicsPipeline: Don't use _tessInfo to decide if pipeline is a tessellation pipeline. #2244

Closed js6i closed 4 months ago

js6i commented 4 months ago

With dynamic patch control points enabled, the pipeline does not need to be created with tessellation info included in the create info. Store a separate boolean flag to treat all pipelines that have tessellation shaders properly.