diff options
| author | 2022-12-24 22:24:56 -0500 | |
|---|---|---|
| committer | 2023-01-01 16:43:58 -0500 | |
| commit | 4814d87385a3e06a70514be4ecb2739cba358bdf (patch) | |
| tree | c13a876c13fb53e8aceed2a6eaad925e1138f896 /src/video_core/vulkan_common | |
| parent | MacroHLE: Final cleanup and fixes. (diff) | |
| download | yuzu-4814d87385a3e06a70514be4ecb2739cba358bdf.tar.gz yuzu-4814d87385a3e06a70514be4ecb2739cba358bdf.tar.xz yuzu-4814d87385a3e06a70514be4ecb2739cba358bdf.zip | |
video_core: fix build
Diffstat (limited to 'src/video_core/vulkan_common')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index ea62edb13..13d953772 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -576,6 +576,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 576 | .pNext = nullptr, | 576 | .pNext = nullptr, |
| 577 | .extendedDynamicState2 = VK_TRUE, | 577 | .extendedDynamicState2 = VK_TRUE, |
| 578 | .extendedDynamicState2LogicOp = ext_extended_dynamic_state_2_extra ? VK_TRUE : VK_FALSE, | 578 | .extendedDynamicState2LogicOp = ext_extended_dynamic_state_2_extra ? VK_TRUE : VK_FALSE, |
| 579 | .extendedDynamicState2PatchControlPoints = VK_FALSE, | ||
| 579 | }; | 580 | }; |
| 580 | SetNext(next, dynamic_state_2); | 581 | SetNext(next, dynamic_state_2); |
| 581 | } else { | 582 | } else { |
| @@ -587,8 +588,14 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 587 | dynamic_state_3 = { | 588 | dynamic_state_3 = { |
| 588 | .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_FEATURES_EXT, | 589 | .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_FEATURES_EXT, |
| 589 | .pNext = nullptr, | 590 | .pNext = nullptr, |
| 591 | .extendedDynamicState3TessellationDomainOrigin = VK_FALSE, | ||
| 590 | .extendedDynamicState3DepthClampEnable = | 592 | .extendedDynamicState3DepthClampEnable = |
| 591 | ext_extended_dynamic_state_3_enables ? VK_TRUE : VK_FALSE, | 593 | ext_extended_dynamic_state_3_enables ? VK_TRUE : VK_FALSE, |
| 594 | .extendedDynamicState3PolygonMode = VK_FALSE, | ||
| 595 | .extendedDynamicState3RasterizationSamples = VK_FALSE, | ||
| 596 | .extendedDynamicState3SampleMask = VK_FALSE, | ||
| 597 | .extendedDynamicState3AlphaToCoverageEnable = VK_FALSE, | ||
| 598 | .extendedDynamicState3AlphaToOneEnable = VK_FALSE, | ||
| 592 | .extendedDynamicState3LogicOpEnable = | 599 | .extendedDynamicState3LogicOpEnable = |
| 593 | ext_extended_dynamic_state_3_enables ? VK_TRUE : VK_FALSE, | 600 | ext_extended_dynamic_state_3_enables ? VK_TRUE : VK_FALSE, |
| 594 | .extendedDynamicState3ColorBlendEnable = | 601 | .extendedDynamicState3ColorBlendEnable = |
| @@ -597,6 +604,26 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 597 | ext_extended_dynamic_state_3_blend ? VK_TRUE : VK_FALSE, | 604 | ext_extended_dynamic_state_3_blend ? VK_TRUE : VK_FALSE, |
| 598 | .extendedDynamicState3ColorWriteMask = | 605 | .extendedDynamicState3ColorWriteMask = |
| 599 | ext_extended_dynamic_state_3_blend ? VK_TRUE : VK_FALSE, | 606 | ext_extended_dynamic_state_3_blend ? VK_TRUE : VK_FALSE, |
| 607 | .extendedDynamicState3RasterizationStream = VK_FALSE, | ||
| 608 | .extendedDynamicState3ConservativeRasterizationMode = VK_FALSE, | ||
| 609 | .extendedDynamicState3ExtraPrimitiveOverestimationSize = VK_FALSE, | ||
| 610 | .extendedDynamicState3DepthClipEnable = VK_FALSE, | ||
| 611 | .extendedDynamicState3SampleLocationsEnable = VK_FALSE, | ||
| 612 | .extendedDynamicState3ColorBlendAdvanced = VK_FALSE, | ||
| 613 | .extendedDynamicState3ProvokingVertexMode = VK_FALSE, | ||
| 614 | .extendedDynamicState3LineRasterizationMode = VK_FALSE, | ||
| 615 | .extendedDynamicState3LineStippleEnable = VK_FALSE, | ||
| 616 | .extendedDynamicState3DepthClipNegativeOneToOne = VK_FALSE, | ||
| 617 | .extendedDynamicState3ViewportWScalingEnable = VK_FALSE, | ||
| 618 | .extendedDynamicState3ViewportSwizzle = VK_FALSE, | ||
| 619 | .extendedDynamicState3CoverageToColorEnable = VK_FALSE, | ||
| 620 | .extendedDynamicState3CoverageToColorLocation = VK_FALSE, | ||
| 621 | .extendedDynamicState3CoverageModulationMode = VK_FALSE, | ||
| 622 | .extendedDynamicState3CoverageModulationTableEnable = VK_FALSE, | ||
| 623 | .extendedDynamicState3CoverageModulationTable = VK_FALSE, | ||
| 624 | .extendedDynamicState3CoverageReductionMode = VK_FALSE, | ||
| 625 | .extendedDynamicState3RepresentativeFragmentTestEnable = VK_FALSE, | ||
| 626 | .extendedDynamicState3ShadingRateImageEnable = VK_FALSE, | ||
| 600 | }; | 627 | }; |
| 601 | SetNext(next, dynamic_state_3); | 628 | SetNext(next, dynamic_state_3); |
| 602 | } else { | 629 | } else { |