1// 2// Copyright (C) 2009-2021 Intel Corporation 3// 4// SPDX-License-Identifier: MIT 5// 6// 7 8module structs; 9 10struct MKBuilderState { 11 qword geomDesc_buffer; 12 qword build_primref_buffer; 13 qword build_globals; 14 qword bvh_buffer; 15 dword leaf_type; 16 dword leaf_size; 17}; 18 19struct MKSizeEstimate { 20 dword numTriangles; 21 dword numProcedurals; 22 dword numPrimitives; 23 dword numMeshes; 24 dword numBuildPrimitives; 25 dword numPrimitivesToSplit; 26 dword instance_descs_start; 27 dword geo_meta_data_start; 28 dword node_data_start; 29 dword leaf_data_start; 30 dword procedural_data_start; 31 dword back_pointer_start; 32 dword sizeTotal; 33 dword updateScratchSizeTotal; 34 dword fatleaf_table_start; 35 dword innernode_table_start; 36 dword max_fatleaves; 37 dword quad_indices_data_start; 38}; 39