diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-12-04 15:07:11 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 15:07:11 -0300 |
commit | 73aed239c356c4c573819eb6ee1e2d414d2d5579 (patch) | |
tree | a62251a52f79673925161a9843339df81483fbfb /Ryujinx.Graphics.Vulkan/HardwareCapabilities.cs | |
parent | 9ac66336a216644a1b671e7949702d2e749838d2 (diff) |
Implement non-MS to MS copies with draws (#3958)1.1.420
* Implement non-MS to MS copies with draws, simplify MS to non-MS copies and supports any host sample count
* Remove unused program
Diffstat (limited to 'Ryujinx.Graphics.Vulkan/HardwareCapabilities.cs')
-rw-r--r-- | Ryujinx.Graphics.Vulkan/HardwareCapabilities.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Vulkan/HardwareCapabilities.cs b/Ryujinx.Graphics.Vulkan/HardwareCapabilities.cs index 0c40aa71..7b1beb5f 100644 --- a/Ryujinx.Graphics.Vulkan/HardwareCapabilities.cs +++ b/Ryujinx.Graphics.Vulkan/HardwareCapabilities.cs @@ -22,6 +22,7 @@ namespace Ryujinx.Graphics.Vulkan public readonly uint MinSubgroupSize; public readonly uint MaxSubgroupSize; public readonly ShaderStageFlags RequiredSubgroupSizeStages; + public readonly SampleCountFlags SupportedSampleCounts; public HardwareCapabilities( bool supportsIndexTypeUint8, @@ -41,7 +42,8 @@ namespace Ryujinx.Graphics.Vulkan bool supportsGeometryShader, uint minSubgroupSize, uint maxSubgroupSize, - ShaderStageFlags requiredSubgroupSizeStages) + ShaderStageFlags requiredSubgroupSizeStages, + SampleCountFlags supportedSampleCounts) { SupportsIndexTypeUint8 = supportsIndexTypeUint8; SupportsCustomBorderColor = supportsCustomBorderColor; @@ -61,6 +63,7 @@ namespace Ryujinx.Graphics.Vulkan MinSubgroupSize = minSubgroupSize; MaxSubgroupSize = maxSubgroupSize; RequiredSubgroupSizeStages = requiredSubgroupSizeStages; + SupportedSampleCounts = supportedSampleCounts; } } } |