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 "../Deqpgles3BaseFunc.h" 19f6603c60Sopenharmony_ci#include "../ActsDeqpgles30016TestSuite.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(ActsDeqpgles30016TestSuite, TestCase_015960, 27f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matr", 28f6603c60Sopenharmony_ci "ix.negation.lowp_mat2_float_vertex"); 29f6603c60Sopenharmony_ci 30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015961, 31f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 32f6603c60Sopenharmony_ci "x.negation.lowp_mat2_float_fragment"); 33f6603c60Sopenharmony_ci 34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015962, 35f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 36f6603c60Sopenharmony_ci "x.negation.mediump_mat2_float_vertex"); 37f6603c60Sopenharmony_ci 38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015963, 39f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 40f6603c60Sopenharmony_ci ".negation.mediump_mat2_float_fragment"); 41f6603c60Sopenharmony_ci 42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015964, 43f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matr", 44f6603c60Sopenharmony_ci "ix.negation.highp_mat2_float_vertex"); 45f6603c60Sopenharmony_ci 46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015965, 47f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 48f6603c60Sopenharmony_ci "x.negation.highp_mat2_float_fragment"); 49f6603c60Sopenharmony_ci 50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015966, 51f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 52f6603c60Sopenharmony_ci "x.negation.lowp_mat2x3_float_vertex"); 53f6603c60Sopenharmony_ci 54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015967, 55f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 56f6603c60Sopenharmony_ci ".negation.lowp_mat2x3_float_fragment"); 57f6603c60Sopenharmony_ci 58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015968, 59f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 60f6603c60Sopenharmony_ci ".negation.mediump_mat2x3_float_vertex"); 61f6603c60Sopenharmony_ci 62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015969, 63f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix.", 64f6603c60Sopenharmony_ci "negation.mediump_mat2x3_float_fragment"); 65f6603c60Sopenharmony_ci 66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015970, 67f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 68f6603c60Sopenharmony_ci "x.negation.highp_mat2x3_float_vertex"); 69f6603c60Sopenharmony_ci 70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015971, 71f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 72f6603c60Sopenharmony_ci ".negation.highp_mat2x3_float_fragment"); 73f6603c60Sopenharmony_ci 74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015972, 75f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 76f6603c60Sopenharmony_ci "x.negation.lowp_mat2x4_float_vertex"); 77f6603c60Sopenharmony_ci 78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015973, 79f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 80f6603c60Sopenharmony_ci ".negation.lowp_mat2x4_float_fragment"); 81f6603c60Sopenharmony_ci 82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015974, 83f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 84f6603c60Sopenharmony_ci ".negation.mediump_mat2x4_float_vertex"); 85f6603c60Sopenharmony_ci 86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015975, 87f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix.", 88f6603c60Sopenharmony_ci "negation.mediump_mat2x4_float_fragment"); 89f6603c60Sopenharmony_ci 90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015976, 91f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 92f6603c60Sopenharmony_ci "x.negation.highp_mat2x4_float_vertex"); 93f6603c60Sopenharmony_ci 94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015977, 95f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 96f6603c60Sopenharmony_ci ".negation.highp_mat2x4_float_fragment"); 97f6603c60Sopenharmony_ci 98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015978, 99f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 100f6603c60Sopenharmony_ci "x.negation.lowp_mat3x2_float_vertex"); 101f6603c60Sopenharmony_ci 102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015979, 103f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 104f6603c60Sopenharmony_ci ".negation.lowp_mat3x2_float_fragment"); 105f6603c60Sopenharmony_ci 106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015980, 107f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 108f6603c60Sopenharmony_ci ".negation.mediump_mat3x2_float_vertex"); 109f6603c60Sopenharmony_ci 110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015981, 111f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix.", 112f6603c60Sopenharmony_ci "negation.mediump_mat3x2_float_fragment"); 113f6603c60Sopenharmony_ci 114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015982, 115f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 116f6603c60Sopenharmony_ci "x.negation.highp_mat3x2_float_vertex"); 117f6603c60Sopenharmony_ci 118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015983, 119f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 120f6603c60Sopenharmony_ci ".negation.highp_mat3x2_float_fragment"); 121f6603c60Sopenharmony_ci 122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015984, 123f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matr", 124f6603c60Sopenharmony_ci "ix.negation.lowp_mat3_float_vertex"); 125f6603c60Sopenharmony_ci 126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015985, 127f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 128f6603c60Sopenharmony_ci "x.negation.lowp_mat3_float_fragment"); 129f6603c60Sopenharmony_ci 130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015986, 131f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 132f6603c60Sopenharmony_ci "x.negation.mediump_mat3_float_vertex"); 133f6603c60Sopenharmony_ci 134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015987, 135f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 136f6603c60Sopenharmony_ci ".negation.mediump_mat3_float_fragment"); 137f6603c60Sopenharmony_ci 138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015988, 139f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matr", 140f6603c60Sopenharmony_ci "ix.negation.highp_mat3_float_vertex"); 141f6603c60Sopenharmony_ci 142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015989, 143f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 144f6603c60Sopenharmony_ci "x.negation.highp_mat3_float_fragment"); 145f6603c60Sopenharmony_ci 146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015990, 147f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 148f6603c60Sopenharmony_ci "x.negation.lowp_mat3x4_float_vertex"); 149f6603c60Sopenharmony_ci 150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015991, 151f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 152f6603c60Sopenharmony_ci ".negation.lowp_mat3x4_float_fragment"); 153f6603c60Sopenharmony_ci 154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015992, 155f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 156f6603c60Sopenharmony_ci ".negation.mediump_mat3x4_float_vertex"); 157f6603c60Sopenharmony_ci 158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015993, 159f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix.", 160f6603c60Sopenharmony_ci "negation.mediump_mat3x4_float_fragment"); 161f6603c60Sopenharmony_ci 162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015994, 163f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 164f6603c60Sopenharmony_ci "x.negation.highp_mat3x4_float_vertex"); 165f6603c60Sopenharmony_ci 166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015995, 167f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 168f6603c60Sopenharmony_ci ".negation.highp_mat3x4_float_fragment"); 169f6603c60Sopenharmony_ci 170f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015996, 171f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 172f6603c60Sopenharmony_ci "x.negation.lowp_mat4x2_float_vertex"); 173f6603c60Sopenharmony_ci 174f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015997, 175f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 176f6603c60Sopenharmony_ci ".negation.lowp_mat4x2_float_fragment"); 177f6603c60Sopenharmony_ci 178f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015998, 179f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 180f6603c60Sopenharmony_ci ".negation.mediump_mat4x2_float_vertex"); 181f6603c60Sopenharmony_ci 182f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_015999, 183f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix.", 184f6603c60Sopenharmony_ci "negation.mediump_mat4x2_float_fragment"); 185f6603c60Sopenharmony_ci 186f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016000, 187f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 188f6603c60Sopenharmony_ci "x.negation.highp_mat4x2_float_vertex"); 189f6603c60Sopenharmony_ci 190f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016001, 191f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 192f6603c60Sopenharmony_ci ".negation.highp_mat4x2_float_fragment"); 193f6603c60Sopenharmony_ci 194f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016002, 195f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 196f6603c60Sopenharmony_ci "x.negation.lowp_mat4x3_float_vertex"); 197f6603c60Sopenharmony_ci 198f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016003, 199f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 200f6603c60Sopenharmony_ci ".negation.lowp_mat4x3_float_fragment"); 201f6603c60Sopenharmony_ci 202f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016004, 203f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 204f6603c60Sopenharmony_ci ".negation.mediump_mat4x3_float_vertex"); 205f6603c60Sopenharmony_ci 206f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016005, 207f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix.", 208f6603c60Sopenharmony_ci "negation.mediump_mat4x3_float_fragment"); 209f6603c60Sopenharmony_ci 210f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016006, 211f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 212f6603c60Sopenharmony_ci "x.negation.highp_mat4x3_float_vertex"); 213f6603c60Sopenharmony_ci 214f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016007, 215f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 216f6603c60Sopenharmony_ci ".negation.highp_mat4x3_float_fragment"); 217f6603c60Sopenharmony_ci 218f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016008, 219f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matr", 220f6603c60Sopenharmony_ci "ix.negation.lowp_mat4_float_vertex"); 221f6603c60Sopenharmony_ci 222f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016009, 223f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 224f6603c60Sopenharmony_ci "x.negation.lowp_mat4_float_fragment"); 225f6603c60Sopenharmony_ci 226f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016010, 227f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 228f6603c60Sopenharmony_ci "x.negation.mediump_mat4_float_vertex"); 229f6603c60Sopenharmony_ci 230f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016011, 231f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matrix", 232f6603c60Sopenharmony_ci ".negation.mediump_mat4_float_fragment"); 233f6603c60Sopenharmony_ci 234f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016012, 235f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matr", 236f6603c60Sopenharmony_ci "ix.negation.highp_mat4_float_vertex"); 237f6603c60Sopenharmony_ci 238f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30016TestSuite, TestCase_016013, 239f6603c60Sopenharmony_ci "dEQP-GLES3.functional.shaders.matri", 240f6603c60Sopenharmony_ci "x.negation.highp_mat4_float_fragment"); 241