From 5f31e6b286599acb1c1f40a34b457d7d1b463d82 Mon Sep 17 00:00:00 2001 From: Sagar Ghuge Date: Mon, 30 Jun 2025 14:42:10 -0700 Subject: [PATCH] anv: Drop unused anv_rt_bvh_build_method enum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sagar Ghuge Reviewed-by: Iván Briano Part-of: --- src/intel/vulkan/anv_pipeline.c | 2 -- src/intel/vulkan/anv_private.h | 7 ------- 2 files changed, 9 deletions(-) diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index bc962963b2e..fec0b2b550c 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -3864,8 +3864,6 @@ anv_pipeline_compile_ray_tracing(struct anv_ray_tracing_pipeline *pipeline, VkResult anv_device_init_rt_shaders(struct anv_device *device) { - device->bvh_build_method = ANV_BVH_BUILD_METHOD_NEW_SAH; - if (!device->vk.enabled_extensions.KHR_ray_tracing_pipeline) return VK_SUCCESS; diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index ccbca4855cd..0144b5d0ee6 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1930,11 +1930,6 @@ enum anv_internal_kernel_name { ANV_INTERNAL_KERNEL_COUNT, }; -enum anv_rt_bvh_build_method { - ANV_BVH_BUILD_METHOD_TRIVIAL, - ANV_BVH_BUILD_METHOD_NEW_SAH, -}; - /* If serialization-breaking or algorithm-breaking changes are made, * increment the digits at the end */ @@ -2108,8 +2103,6 @@ struct anv_device { struct anv_shader_bin *rt_trivial_return; struct anv_shader_bin *rt_null_ahs; - enum anv_rt_bvh_build_method bvh_build_method; - /** Draw generation shader * * Generates direct draw calls out of indirect parameters. Used to