projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbe2082
)
radv: Implement querying the point clipping behavior.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Thu, 5 Oct 2017 22:50:15 +0000
(
00:50
+0200)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Thu, 5 Oct 2017 23:41:29 +0000
(
01:41
+0200)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index aa7fe35d87e8a69015517b270e4e1a637e2b1d64..ae9baf590d584678b09be766dc7f3a005ffe3e2a 100644
(file)
--- 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;
}