NativeRenderingPlugin icon indicating copy to clipboard operation
NativeRenderingPlugin copied to clipboard

Multisamples issues in Vulkan

Open jesusdesantos opened this issue 3 years ago • 0 comments

In Vulkan when creating pipelines, the sample count must be indicated in VkPipelineMultisampleStateCreateInfo. The pipeline can't be later used with a rendertarget with a different sample count.

A native plugin doesn't receive information about the sample count of the current active render pass. I think this could be added to UnityVulkanRecordingState.

Note that the Vulkan example provided in this repository has hardcoded the sample count and doesn't work with cameras using MSAA.

jesusdesantos avatar Dec 12 '22 12:12 jesusdesantos