summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-01-26 02:28:08 +0100
committerBas Nieuwenhuizen <[email protected]>2019-02-20 23:24:31 +0000
commit9f7e0523ce64a9d8e81ab07639cc27871e3b9d38 (patch)
tree714b9f640a60a03869c542c2a8f895e98c39296d /src/amd/vulkan/radv_device.c
parent03783253b1814a0afa25364f80f13f3e4a1e9bc2 (diff)
radv: Implement VK_EXT_depth_clip_enable.
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r--src/amd/vulkan/radv_device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 53f2c05fc42..2aa8b3611e3 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -881,6 +881,12 @@ void radv_GetPhysicalDeviceFeatures2(
features->bufferDeviceAddressMultiDevice = false;
break;
}
+ case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT: {
+ VkPhysicalDeviceDepthClipEnableFeaturesEXT *features =
+ (VkPhysicalDeviceDepthClipEnableFeaturesEXT *)ext;
+ features->depthClipEnable = true;
+ break;
+ }
default:
break;
}