1f6603c60Sopenharmony_ci/* 2f6603c60Sopenharmony_ci * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License. 5f6603c60Sopenharmony_ci * You may obtain a copy of the License at 6f6603c60Sopenharmony_ci * 7f6603c60Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8f6603c60Sopenharmony_ci * 9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and 13f6603c60Sopenharmony_ci * limitations under the License. 14f6603c60Sopenharmony_ci */ 15f6603c60Sopenharmony_ci 16f6603c60Sopenharmony_ci#include <climits> 17f6603c60Sopenharmony_ci#include <gtest/gtest.h> 18f6603c60Sopenharmony_ci#include "../Deqpgles31BaseFunc.h" 19f6603c60Sopenharmony_ci#include "../ActsDeqpgles310012TestSuite.h" 20f6603c60Sopenharmony_ci#include "shrinkdefine.h" 21f6603c60Sopenharmony_ci 22f6603c60Sopenharmony_ciusing namespace std; 23f6603c60Sopenharmony_ciusing namespace testing::ext; 24f6603c60Sopenharmony_ciusing namespace OHOS; 25f6603c60Sopenharmony_ci 26f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011255, 27f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_s", 28f6603c60Sopenharmony_ci "tore.2d.atomic.exchange_r32f_result"); 29f6603c60Sopenharmony_ci 30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011256, 31f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_stor", 32f6603c60Sopenharmony_ci "e.2d.atomic.exchange_r32f_return_value"); 33f6603c60Sopenharmony_ci 34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011257, 35f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load", 36f6603c60Sopenharmony_ci "_store.2d.atomic.add_r32ui_result"); 37f6603c60Sopenharmony_ci 38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011258, 39f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_st", 40f6603c60Sopenharmony_ci "ore.2d.atomic.add_r32ui_return_value"); 41f6603c60Sopenharmony_ci 42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011259, 43f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load", 44f6603c60Sopenharmony_ci "_store.2d.atomic.min_r32ui_result"); 45f6603c60Sopenharmony_ci 46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011260, 47f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_st", 48f6603c60Sopenharmony_ci "ore.2d.atomic.min_r32ui_return_value"); 49f6603c60Sopenharmony_ci 50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011261, 51f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load", 52f6603c60Sopenharmony_ci "_store.2d.atomic.max_r32ui_result"); 53f6603c60Sopenharmony_ci 54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011262, 55f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_st", 56f6603c60Sopenharmony_ci "ore.2d.atomic.max_r32ui_return_value"); 57f6603c60Sopenharmony_ci 58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011263, 59f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load", 60f6603c60Sopenharmony_ci "_store.2d.atomic.and_r32ui_result"); 61f6603c60Sopenharmony_ci 62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011264, 63f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_st", 64f6603c60Sopenharmony_ci "ore.2d.atomic.and_r32ui_return_value"); 65f6603c60Sopenharmony_ci 66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011265, 67f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_loa", 68f6603c60Sopenharmony_ci "d_store.2d.atomic.or_r32ui_result"); 69f6603c60Sopenharmony_ci 70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011266, 71f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_s", 72f6603c60Sopenharmony_ci "tore.2d.atomic.or_r32ui_return_value"); 73f6603c60Sopenharmony_ci 74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011267, 75f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load", 76f6603c60Sopenharmony_ci "_store.2d.atomic.xor_r32ui_result"); 77f6603c60Sopenharmony_ci 78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011268, 79f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_st", 80f6603c60Sopenharmony_ci "ore.2d.atomic.xor_r32ui_return_value"); 81f6603c60Sopenharmony_ci 82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011269, 83f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_s", 84f6603c60Sopenharmony_ci "tore.2d.atomic.exchange_r32ui_result"); 85f6603c60Sopenharmony_ci 86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011270, 87f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_stor", 88f6603c60Sopenharmony_ci "e.2d.atomic.exchange_r32ui_return_value"); 89f6603c60Sopenharmony_ci 90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011271, 91f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_st", 92f6603c60Sopenharmony_ci "ore.2d.atomic.comp_swap_r32ui_result"); 93f6603c60Sopenharmony_ci 94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011272, 95f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_loa", 96f6603c60Sopenharmony_ci "d_store.2d.atomic.add_r32i_result"); 97f6603c60Sopenharmony_ci 98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011273, 99f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_s", 100f6603c60Sopenharmony_ci "tore.2d.atomic.add_r32i_return_value"); 101f6603c60Sopenharmony_ci 102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011274, 103f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_loa", 104f6603c60Sopenharmony_ci "d_store.2d.atomic.min_r32i_result"); 105f6603c60Sopenharmony_ci 106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011275, 107f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_s", 108f6603c60Sopenharmony_ci "tore.2d.atomic.min_r32i_return_value"); 109f6603c60Sopenharmony_ci 110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011276, 111f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_loa", 112f6603c60Sopenharmony_ci "d_store.2d.atomic.max_r32i_result"); 113f6603c60Sopenharmony_ci 114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011277, 115f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_s", 116f6603c60Sopenharmony_ci "tore.2d.atomic.max_r32i_return_value"); 117f6603c60Sopenharmony_ci 118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011278, 119f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_loa", 120f6603c60Sopenharmony_ci "d_store.2d.atomic.and_r32i_result"); 121f6603c60Sopenharmony_ci 122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011279, 123f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_s", 124f6603c60Sopenharmony_ci "tore.2d.atomic.and_r32i_return_value"); 125f6603c60Sopenharmony_ci 126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011280, 127f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_loa", 128f6603c60Sopenharmony_ci "d_store.2d.atomic.or_r32i_result"); 129f6603c60Sopenharmony_ci 130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011281, 131f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_s", 132f6603c60Sopenharmony_ci "tore.2d.atomic.or_r32i_return_value"); 133f6603c60Sopenharmony_ci 134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011282, 135f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_loa", 136f6603c60Sopenharmony_ci "d_store.2d.atomic.xor_r32i_result"); 137f6603c60Sopenharmony_ci 138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011283, 139f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_s", 140f6603c60Sopenharmony_ci "tore.2d.atomic.xor_r32i_return_value"); 141f6603c60Sopenharmony_ci 142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011284, 143f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_s", 144f6603c60Sopenharmony_ci "tore.2d.atomic.exchange_r32i_result"); 145f6603c60Sopenharmony_ci 146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011285, 147f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_stor", 148f6603c60Sopenharmony_ci "e.2d.atomic.exchange_r32i_return_value"); 149f6603c60Sopenharmony_ci 150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310012TestSuite, TestCase_011286, 151f6603c60Sopenharmony_ci "dEQP-GLES31.functional.image_load_s", 152f6603c60Sopenharmony_ci "tore.2d.atomic.comp_swap_r32i_result"); 153