anv: Drop unused anv_rt_bvh_build_method enum
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Iván Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35848>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user