anv: enable rayTraversalPrimitiveCulling feature
authorIván Briano <ivan.briano@intel.com>
Wed, 21 Sep 2022 19:03:28 +0000 (12:03 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Oct 2022 00:03:55 +0000 (00:03 +0000)
It is mandatory if VK_KHR_ray_query is supported.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19152>

src/intel/vulkan/anv_device.c

index 4e8f998..112fb89 100644 (file)
@@ -1582,7 +1582,7 @@ void anv_GetPhysicalDeviceFeatures2(
          features->rayTracingPipelineShaderGroupHandleCaptureReplay = false;
          features->rayTracingPipelineShaderGroupHandleCaptureReplayMixed = false;
          features->rayTracingPipelineTraceRaysIndirect = true;
-         features->rayTraversalPrimitiveCulling = false;
+         features->rayTraversalPrimitiveCulling = true;
          break;
       }