Module: Mesa
Branch: master
Commit: f800d9101985097fcb4ea54d267989b4ef5a6a81
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f800d9101985097fcb4ea54d267989b4ef5a6a81

Author: Bas Nieuwenhuizen <[email protected]>
Date:   Fri Oct  6 00:50:15 2017 +0200

radv: Implement querying the point clipping behavior.

Reviewed-by: Dave Airlie <[email protected]>

---

 src/amd/vulkan/radv_device.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index aa7fe35d87..ae9baf590d 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;
                }

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to