# 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. import("//test/xts/acts/graphic/vkgl/comm.gni") config("deqp_platform_ohos_config") { cflags_cc = deqp_common_cflags_cc cflags_cc += [ # "-Wno-conversion", # "-Wno-unused-function", "-Wno-unused-parameter", ] defines = deqp_common_defines # defines -=["DE_PTR_SIZE=8"] defines += [ "DE_PTR_SIZE=4", "_XOPEN_SOURCE=600", ] } ohos_static_library("libkhrgles31func0001") { sources = common_src sources += [ "../Khrgles31BaseFunc.cpp" ] include_dirs = common_include deps = common_depends external_deps = [ "hilog_native:libhilog", "multimedia_image_standard:image_native", ] configs = [ ":deqp_platform_ohos_config" ] public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ] } ohos_moduletest_suite("ActsKhrgles31TestSuite0001") { sources = [ "../ActsKhrgles310001TestSuite.cpp", "../core/Khrgles31base_rgba32fTestCase.cpp", "../core/Khrgles31base_rgba8TestCase.cpp", "../core/Khrgles31base_rgba8iTestCase.cpp", "../core/Khrgles31base_rgba8uiTestCase.cpp", "../core/Khrgles31centroid_rgba32fTestCase.cpp", "../core/Khrgles31centroid_rgba8TestCase.cpp", "../core/Khrgles31centroid_rgba8iTestCase.cpp", "../core/Khrgles31centroid_rgba8uiTestCase.cpp", "../core/Khrgles31core_constant_expressionsTestCase.cpp", "../core/Khrgles31core_layout_bindingTestCase.cpp", "../core/Khrgles31core_sepshaderobjsTestCase.cpp", "../core/Khrgles31core_shader_atomic_countersTestCase.cpp", "../core/Khrgles31core_shader_integer_mixTestCase.cpp", "../core/Khrgles31core_texture_gatherTestCase.cpp", "../core/Khrgles31interpolate_at_centroid_check_rgba32fTestCase.cpp", "../core/Khrgles31interpolate_at_centroid_check_rgba8TestCase.cpp", "../core/Khrgles31interpolate_at_centroid_check_rgba8iTestCase.cpp", "../core/Khrgles31interpolate_at_centroid_check_rgba8uiTestCase.cpp", "../core/Khrgles31interpolate_at_centroid_rgba32fTestCase.cpp", "../core/Khrgles31interpolate_at_centroid_rgba8TestCase.cpp", "../core/Khrgles31interpolate_at_centroid_rgba8iTestCase.cpp", "../core/Khrgles31interpolate_at_centroid_rgba8uiTestCase.cpp", "../core/Khrgles31interpolate_at_offset_check_rgba32fTestCase.cpp", "../core/Khrgles31interpolate_at_offset_check_rgba8TestCase.cpp", "../core/Khrgles31interpolate_at_offset_check_rgba8iTestCase.cpp", "../core/Khrgles31interpolate_at_offset_check_rgba8uiTestCase.cpp", "../core/Khrgles31interpolate_at_offset_rgba32fTestCase.cpp", "../core/Khrgles31interpolate_at_offset_rgba8TestCase.cpp", "../core/Khrgles31interpolate_at_offset_rgba8iTestCase.cpp", "../core/Khrgles31interpolate_at_offset_rgba8uiTestCase.cpp", "../core/Khrgles31interpolate_at_sample_check_rgba32fTestCase.cpp", "../core/Khrgles31interpolate_at_sample_check_rgba8TestCase.cpp", "../core/Khrgles31interpolate_at_sample_check_rgba8iTestCase.cpp", "../core/Khrgles31interpolate_at_sample_check_rgba8uiTestCase.cpp", "../core/Khrgles31interpolate_at_sample_rgba32fTestCase.cpp", "../core/Khrgles31interpolate_at_sample_rgba8TestCase.cpp", "../core/Khrgles31interpolate_at_sample_rgba8iTestCase.cpp", "../core/Khrgles31interpolate_at_sample_rgba8uiTestCase.cpp", "../core/Khrgles31position_fixedTestCase.cpp", "../core/Khrgles31position_non-fixedTestCase.cpp", "../core/Khrgles31render_rgba32fTestCase.cpp", "../core/Khrgles31render_rgba8TestCase.cpp", "../core/Khrgles31render_rgba8iTestCase.cpp", "../core/Khrgles31render_rgba8uiTestCase.cpp", "../core/Khrgles31rgba32f_samples_0TestCase.cpp", "../core/Khrgles31rgba32f_samples_1TestCase.cpp", "../core/Khrgles31rgba32f_samples_2TestCase.cpp", "../core/Khrgles31rgba32f_samples_4TestCase.cpp", "../core/Khrgles31rgba32f_samples_8TestCase.cpp", "../core/Khrgles31rgba8_samples_0TestCase.cpp", "../core/Khrgles31rgba8_samples_1TestCase.cpp", "../core/Khrgles31rgba8_samples_2TestCase.cpp", "../core/Khrgles31rgba8_samples_4TestCase.cpp", "../core/Khrgles31rgba8_samples_8TestCase.cpp", "../core/Khrgles31rgba8i_samples_0TestCase.cpp", "../core/Khrgles31rgba8i_samples_1TestCase.cpp", "../core/Khrgles31rgba8i_samples_2TestCase.cpp", "../core/Khrgles31rgba8i_samples_4TestCase.cpp", "../core/Khrgles31rgba8i_samples_8TestCase.cpp", "../core/Khrgles31rgba8ui_samples_0TestCase.cpp", "../core/Khrgles31rgba8ui_samples_1TestCase.cpp", "../core/Khrgles31rgba8ui_samples_2TestCase.cpp", "../core/Khrgles31rgba8ui_samples_4TestCase.cpp", "../core/Khrgles31rgba8ui_samples_8TestCase.cpp", "../core/Khrgles31sample_rgba32fTestCase.cpp", "../core/Khrgles31sample_rgba8TestCase.cpp", "../core/Khrgles31sample_rgba8iTestCase.cpp", "../core/Khrgles31sample_rgba8uiTestCase.cpp", "../core/Khrgles31sample_shading_apiTestCase.cpp", "../core/Khrgles31sample_variables_verificationTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_bitCountTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_bitfieldExtractTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_bitfieldInsertTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_bitfieldReverseTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_findLSBTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_findMSBTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_frexpTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_imulExtendedTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_ldexpTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_packSnorm4x8TestCase.cpp", "../core/Khrgles31shader_bitfield_operation_packUnorm4x8TestCase.cpp", "../core/Khrgles31shader_bitfield_operation_uaddCarryTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_umulExtendedTestCase.cpp", "../core/Khrgles31shader_bitfield_operation_unpackSnorm4x8TestCase.cpp", "../core/Khrgles31shader_bitfield_operation_unpackUnorm4x8TestCase.cpp", "../core/Khrgles31shader_bitfield_operation_usubBorrowTestCase.cpp", "../core/Khrgles31shader_multisample_interpolation_apiTestCase.cpp", "../core/Khrgles31texture_storage_multisample_APIDependenciesTestCase.cpp", "../core/Khrgles31texture_storage_multisample_APIGLGetActiveUniformTestCase.cpp", "../core/Khrgles31texture_storage_multisample_APIGLGetMultisamplefvTestCase.cpp", "../core/Khrgles31texture_storage_multisample_APIGLGetTexLevelParameterifvTestCase.cpp", "../core/Khrgles31texture_storage_multisample_APIGLTexStorage2DMultisampleTestCase.cpp", "../core/Khrgles31texture_storage_multisample_APIGLTexStorage3DMultisampleTestCase.cpp", "../core/Khrgles31texture_storage_multisample_FunctionalTestsTestCase.cpp", "../core/Khrgles31texture_storage_multisample_GLCoverageTestCase.cpp", ] include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] deps = [ ":libkhrgles31func0001" ] cflags = [ "-Wno-error" ] }