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

Author: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>
Date:   Sun Jan 21 15:57:59 2018 +0100

radv: Support VkPhysicalDeviceShaderDrawParameterFeatures.

Reviewed-by: Dave Airlie <airl...@redhat.com>

---

 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 4eab9faf3f..a791d3a7e4 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -666,6 +666,12 @@ void radv_GetPhysicalDeviceFeatures2(
                        features->multiviewTessellationShader = true;
                        break;
                }
+               case 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES: {
+                       VkPhysicalDeviceShaderDrawParameterFeatures *features =
+                           (VkPhysicalDeviceShaderDrawParameterFeatures*)ext;
+                       features->shaderDrawParameters = true;
+                       break;
+               }
                default:
                        break;
                }

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to