Apply suggestions from code review
Simple suggestions from code review Co-authored-by: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
parent
d9c5b5c753
commit
4a3b10fa9f
5 changed files with 9 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue