mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 20:24:30 +08:00
radv: advertise VK_EXT_extended_dynamic_state2
This only implements dynamic primitive restart enable, depth bias enable and rasterizer discard enable. I leave logic op and patch control points for later. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10340>
This commit is contained in:
parent
dd19bf9d7d
commit
d96507b73f
@ -1,2 +1,3 @@
|
||||
zink supports GL_ARB_texture_filter_minmax, GL_ARB_shader_clock
|
||||
VK_EXT_provoking_vertex on RADV.
|
||||
VK_EXT_extended_dynamic_state2 on RADV.
|
||||
|
@ -452,7 +452,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
|
||||
.EXT_display_control = true,
|
||||
#endif
|
||||
.EXT_extended_dynamic_state = true,
|
||||
.EXT_extended_dynamic_state2 = false,
|
||||
.EXT_extended_dynamic_state2 = true,
|
||||
.EXT_external_memory_dma_buf = true,
|
||||
.EXT_external_memory_host = device->rad_info.has_userptr,
|
||||
.EXT_global_priority = true,
|
||||
@ -1633,7 +1633,7 @@ radv_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT: {
|
||||
VkPhysicalDeviceExtendedDynamicState2FeaturesEXT *features =
|
||||
(VkPhysicalDeviceExtendedDynamicState2FeaturesEXT *)ext;
|
||||
features->extendedDynamicState2 = false;
|
||||
features->extendedDynamicState2 = true;
|
||||
features->extendedDynamicState2LogicOp = false;
|
||||
features->extendedDynamicState2PatchControlPoints = false;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user