## Copyright 2009-2021 Intel Corporation
## SPDX-License-Identifier: Apache-2.0

INCLUDE(tutorial)
ADD_TUTORIAL(instanced_geometry)
ADD_TUTORIAL_ISPC(instanced_geometry)

IF (BUILD_TESTING AND EMBREE_TESTING_INTENSITY GREATER 0)
  ADD_EMBREE_TEST(instanced_geometry)
  IF(EMBREE_RAY_PACKETS)
    ADD_EMBREE_TEST2(instanced_geometry_stream_coherent   instanced_geometry "--mode stream --coherent")
    ADD_EMBREE_TEST2(instanced_geometry_stream_incoherent instanced_geometry "--mode stream --incoherent")
  ENDIF()
ENDIF()

