Skip to content

Commit 28122b5

Browse files
authored
Merge pull request #20 from Unity-Technologies/vulkan_typo_fix
Fix typo in IUnityGraphicsVulkan.h
2 parents 0bf61f9 + f9d4184 commit 28122b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PluginSource/source/Unity/IUnityGraphicsVulkan.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ enum UnityVulkanEventRenderPassPreCondition
9393
// This is the default precondition
9494
kUnityVulkanRenderPass_DontCare,
9595

96-
// Make sure that there is currently no RenderPass in progress.
97-
// This allows e.g. resource uploads.
96+
// Make sure that there is currently RenderPass in progress.
9897
// There are no guarantees about the currently bound descriptor sets, vertex buffers, index buffers and pipeline objects
9998
// Unity does however set dynamic pipeline set VK_DYNAMIC_STATE_VIEWPORT, VK_DYNAMIC_STATE_SCISSOR based on the current settings
10099
// If used in combination with the SRP RenderPass API the resuls is undefined
101100
kUnityVulkanRenderPass_EnsureInside,
102101

103102
// Make sure that there is currently no RenderPass in progress.
103+
// This allows e.g. resource uploads.
104104
// Ends the current render pass (and resumes it afterwards if needed)
105105
// If used in combination with the SRP RenderPass API the resuls is undefined.
106106
kUnityVulkanRenderPass_EnsureOutside

0 commit comments

Comments
 (0)