# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # deqp external ray_tracing build import("//build/ohos.gni") import("//third_party/vk-gl-cts/vk_gl_cts.gni") config("deqp_vk_ray_tracing_config") { cflags_cc = deqp_common_cflags_cc defines = deqp_common_defines #defines += [ "_XOPEN_SOURCE=600" ] } ohos_source_set("deqp_vk_ray_tracing_source") { sources = [ "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingAccelerationStructuresTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingBarrierTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingBarycentricCoordinatesTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingBuildIndirectTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingBuildLargeTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingBuildTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingBuiltinTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingCallableShadersTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingCaptureReplayTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingComplexControlFlowTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingDataSpillTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingDirectionTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingMemGuaranteeTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingMiscTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingNonUniformArgsTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingNullASTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingOpacityMicromapTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingOpacityMicromapTests.hpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingPipelineFlagsTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingPipelineFlagsTests.hpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingPipelineLibraryTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingPositionFetchTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingPositionFetchTests.hpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingProceduralGeometryTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingShaderBindingTableTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingTraceRaysTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingTraversalControlTests.cpp", "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingWatertightnessTests.cpp", ] include_dirs = deqp_vk_common_include_dirs include_dirs += [ "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing", #"//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber", ] deps = [] part_name = "acts" subsystem_name = "xts" configs = [ ":deqp_vk_ray_tracing_config" ] } ohos_static_library("libdeqp_vk_ray_tracing") { deps = [ ":deqp_vk_ray_tracing_source" ] part_name = "acts" subsystem_name = "xts" }