Multisamples issues in Vulkan
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- computer-graphics
Research direction
Start with RenderAPI_Vulkan.cpp around the hardcoded sample count at line 388 and inspect UnityVulkanRecordingState. Trace how the active render pass state reaches native plugins, then verify the Vulkan example works with cameras using MSAA and differing sample counts.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- C
- Stars
- 946
- Forks
- 186
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Unity-Technologies/NativeRenderingPlugin
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Unity-Technologies/NativeRenderingPlugin#46 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
Unity-Technologies/NativeRenderingPlugin#42 · 2 comments ·
All issues in Unity-Technologies/NativeRenderingPlugin
Similar issues
-
CVE-2026-18839 popt: size_t underflow in `singleOptionHelp`Possibly taken @pmatilai claimed this 34 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
rpm-software-management/popt#143 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
libretro/mupen64plus-libretro-nx#663 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
dkfans/keeperfx#5415 · 1 comment ·
Maintainers usually reply within 1 day