Apply suggestions from code review

Simple suggestions from code review

Co-authored-by: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
sunshineinabox 2024-09-09 18:11:35 -07:00 committed by GitHub
parent d9c5b5c753
commit 4a3b10fa9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 14 deletions

View file

@ -503,7 +503,7 @@ namespace Ryujinx.Graphics.Vulkan
if (isMoltenVk)
{
//When widelines feature is not supported it must be 1.0f.
// When widelines feature is not supported it must be 1.0f.
rasterizationState.LineWidth = 1.0f;
}
@ -634,8 +634,8 @@ namespace Ryujinx.Graphics.Vulkan
{
if (gd.SupportsMTL31 || !gd.IsMoltenVk)
{
//Requires Metal 3.1 and new MoltenVK however extended dynamic states extension is not
//available on older verrsion of MVK so we can safely check only OS version
// Requires Metal 3.1 and new MoltenVK, however extended dynamic states extension is not
// available on older versions of MVK, so we can safely check only OS version.
dynamicStates[dynamicStatesCount++] = DynamicState.VertexInputBindingStrideExt;
}
dynamicStates[0] = DynamicState.ViewportWithCountExt;