mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-20 23:47:56 -05:00
renderer_vulkan: ignore viewport stores on non-supporting drivers
This commit is contained in:
@ -351,6 +351,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device
|
||||
.support_geometry_shader_passthrough = device.IsNvGeometryShaderPassthroughSupported(),
|
||||
.support_native_ndc = device.IsExtDepthClipControlSupported(),
|
||||
.support_scaled_attributes = !device.MustEmulateScaledFormats(),
|
||||
.support_multi_viewport = device.SupportsMultiViewport(),
|
||||
|
||||
.warp_size_potentially_larger_than_guest = device.IsWarpSizePotentiallyBiggerThanGuest(),
|
||||
|
||||
|
@ -669,6 +669,10 @@ public:
|
||||
return supports_conditional_barriers;
|
||||
}
|
||||
|
||||
bool SupportsMultiViewport() const {
|
||||
return features2.features.multiViewport;
|
||||
}
|
||||
|
||||
[[nodiscard]] static constexpr bool CheckBrokenCompute(VkDriverId driver_id,
|
||||
u32 driver_version) {
|
||||
if (driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) {
|
||||
|
Reference in New Issue
Block a user