renderer_vulkan: ignore viewport stores on non-supporting drivers
This commit is contained in:
parent
787552f832
commit
473caaff5b
5 changed files with 11 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue