|
|
@ -54,6 +54,7 @@ VK_DEFINE_HANDLE(VmaAllocator) |
|
|
FEATURE(EXT, ColorWriteEnable, COLOR_WRITE_ENABLE, color_write_enable) \ |
|
|
FEATURE(EXT, ColorWriteEnable, COLOR_WRITE_ENABLE, color_write_enable) \ |
|
|
FEATURE(EXT, CustomBorderColor, CUSTOM_BORDER_COLOR, custom_border_color) \ |
|
|
FEATURE(EXT, CustomBorderColor, CUSTOM_BORDER_COLOR, custom_border_color) \ |
|
|
FEATURE(EXT, DepthBiasControl, DEPTH_BIAS_CONTROL, depth_bias_control) \ |
|
|
FEATURE(EXT, DepthBiasControl, DEPTH_BIAS_CONTROL, depth_bias_control) \ |
|
|
|
|
|
FEATURE(EXT, DepthClampZeroOne, DEPTH_CLAMP_ZERO_ONE, depth_clamp_zero_one) \ |
|
|
FEATURE(EXT, DepthClipControl, DEPTH_CLIP_CONTROL, depth_clip_control) \ |
|
|
FEATURE(EXT, DepthClipControl, DEPTH_CLIP_CONTROL, depth_clip_control) \ |
|
|
FEATURE(EXT, ExtendedDynamicState, EXTENDED_DYNAMIC_STATE, extended_dynamic_state) \ |
|
|
FEATURE(EXT, ExtendedDynamicState, EXTENDED_DYNAMIC_STATE, extended_dynamic_state) \ |
|
|
FEATURE(EXT, ExtendedDynamicState2, EXTENDED_DYNAMIC_STATE_2, extended_dynamic_state2) \ |
|
|
FEATURE(EXT, ExtendedDynamicState2, EXTENDED_DYNAMIC_STATE_2, extended_dynamic_state2) \ |
|
|
@ -612,6 +613,11 @@ FN_MAX_LIMIT_LIST |
|
|
return extensions.depth_clip_control; |
|
|
return extensions.depth_clip_control; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// Returns true if the device supports VK_EXT_depth_clamp_zero_one. |
|
|
|
|
|
bool IsExtDepthClampZeroOneSupported() const { |
|
|
|
|
|
return extensions.depth_clamp_zero_one; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/// Returns true if the device supports VK_EXT_depth_bias_control. |
|
|
/// Returns true if the device supports VK_EXT_depth_bias_control. |
|
|
bool IsExtDepthBiasControlSupported() const { |
|
|
bool IsExtDepthBiasControlSupported() const { |
|
|
return extensions.depth_bias_control; |
|
|
return extensions.depth_bias_control; |
|
|
|