diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-10-06 00:50:15 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-10-06 01:41:29 +0200 |
commit | f800d9101985097fcb4ea54d267989b4ef5a6a81 (patch) | |
tree | 693062602e315e62fc1eb77bff2bf17fc1c9714c /src/amd | |
parent | bbe2082e7d38568433a5944a3f3fc7af4f079564 (diff) |
radv: Implement querying the point clipping behavior.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index aa7fe35d87e..ae9baf590d5 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -866,6 +866,12 @@ void radv_GetPhysicalDeviceProperties2KHR( properties->maxMultiviewInstanceIndex = INT_MAX; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR: { + VkPhysicalDevicePointClippingPropertiesKHR *properties = + (VkPhysicalDevicePointClippingPropertiesKHR*)ext; + properties->pointClippingBehavior = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES_KHR; + break; + } default: break; } |