From 020bd86d30e533b243195edc42f3ebdbd6c174e8 Mon Sep 17 00:00:00 2001 From: Konstantin Seurer Date: Sun, 4 May 2025 12:51:49 +0200 Subject: [PATCH] vulkan: Remove the vk_ir_triangle_node::id field Reviewed-by: Natalie Vock Part-of: --- src/vulkan/runtime/bvh/leaf.h | 1 - src/vulkan/runtime/bvh/vk_bvh.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/vulkan/runtime/bvh/leaf.h b/src/vulkan/runtime/bvh/leaf.h index 7f82ae9c0b0..04ec004dbca 100644 --- a/src/vulkan/runtime/bvh/leaf.h +++ b/src/vulkan/runtime/bvh/leaf.h @@ -73,7 +73,6 @@ build_triangle(inout vk_aabb bounds, VOID_REF dst_ptr, vk_bvh_geometry_data geom DEREF(node).base.aabb = bounds; DEREF(node).triangle_id = global_id; DEREF(node).geometry_id_and_flags = geom_data.geometry_id; - DEREF(node).id = 9; return is_valid; } diff --git a/src/vulkan/runtime/bvh/vk_bvh.h b/src/vulkan/runtime/bvh/vk_bvh.h index 53afd3ddf43..3cee4f0e596 100644 --- a/src/vulkan/runtime/bvh/vk_bvh.h +++ b/src/vulkan/runtime/bvh/vk_bvh.h @@ -135,7 +135,6 @@ struct vk_ir_triangle_node { vk_ir_node base; float coords[3][3]; uint32_t triangle_id; - uint32_t id; uint32_t geometry_id_and_flags; };