[Vulkan] Track shader clip distance support

This commit is contained in:
ParantezTech 2026-10-05 18:38:07 +03:00
parent 6e2933e49c
commit dddee59bd9
2 changed files with 2 additions and 0 deletions

View File

@ -742,6 +742,7 @@ internal static unsafe partial class VulkanVideoPresenter
_supportsIndependentBlend = supportedFeatures.IndependentBlend;
_supportsDepthBiasClamp = supportedFeatures.DepthBiasClamp;
_supportsDepthBounds = supportedFeatures.DepthBounds;
_supportsShaderClipDistance = supportedFeatures.ShaderClipDistance;
_supportsFillRectangle = IsDeviceExtensionAvailable(FillRectangleExtensionName);
var enabledFeatures = new PhysicalDeviceFeatures
{

View File

@ -126,6 +126,7 @@ internal static unsafe partial class VulkanVideoPresenter
private bool _supportsDepthClipControl;
private bool _supportsDepthClipEnable;
private bool _supportsDepthBounds;
private bool _supportsShaderClipDistance;
private bool _supportsFillRectangle;
private RenderHostLimits _renderHostLimits;
private IGuestBackedSpace _guestBacking = null!;