• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2009-2021 Intel Corporation
3//
4// SPDX-License-Identifier: MIT
5//
6//
7
8module postbuild_info; // In postbuild we assume output data structure to be DXR compatible
9
10kernel compacted_size < source="bvh_postbuild_info.cl", kernelFunction="compacted_size" >
11kernel current_size < source="bvh_postbuild_info.cl", kernelFunction="current_size" >
12kernel serialized_size < source="bvh_postbuild_info.cl", kernelFunction="serialized_size" >
13kernel decoded_size < source="bvh_postbuild_info.cl", kernelFunction="decoded_size" >
14
15metakernel compacted_size(
16    qword bvh,
17    qword postbuildInfo)
18{
19    dispatch compacted_size(1,1,1) args(
20        bvh,
21        postbuildInfo);
22}
23
24metakernel current_size(
25    qword bvh,
26    qword postbuildInfo)
27{
28    dispatch current_size(1,1,1) args(
29        bvh,
30        postbuildInfo);
31}
32
33metakernel serialized_size(
34    qword bvh,
35    qword postbuildInfo)
36{
37    dispatch serialized_size(1,1,1) args(
38        bvh,
39        postbuildInfo);
40}
41
42metakernel decoded_size(
43    qword bvh,
44    qword postbuildInfo)
45{
46    dispatch decoded_size(1,1,1) args(
47        bvh,
48        postbuildInfo);
49}
50