1 /* 2 * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #include <climits> 17 #include <gtest/gtest.h> 18 #include "../Deqpgles3BaseFunc.h" 19 #include "../ActsDeqpgles30018TestSuite.h" 20 #include "shrinkdefine.h" 21 22 using namespace std; 23 using namespace testing::ext; 24 using namespace OHOS; 25 26 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017537, 27 "dEQP-GLES3.functional.shaders.deriv", 28 "ate.dfdx.nicest.fbo_float.float_lowp"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017538, 31 "dEQP-GLES3.functional.shaders.derivat", 32 "e.dfdx.nicest.fbo_float.float_mediump"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017539, 35 "dEQP-GLES3.functional.shaders.deriva", 36 "te.dfdx.nicest.fbo_float.vec2_mediump"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017540, 39 "dEQP-GLES3.functional.shaders.deriv", 40 "ate.dfdx.nicest.fbo_float.vec3_lowp"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017541, 43 "dEQP-GLES3.functional.shaders.deriva", 44 "te.dfdx.nicest.fbo_float.vec3_mediump"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017715, 47 "dEQP-GLES3.functional.shaders.deriv", 48 "ate.dfdy.nicest.fbo_float.float_lowp"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017716, 51 "dEQP-GLES3.functional.shaders.derivat", 52 "e.dfdy.nicest.fbo_float.float_mediump"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017717, 55 "dEQP-GLES3.functional.shaders.deriv", 56 "ate.dfdy.nicest.fbo_float.vec2_lowp"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017718, 59 "dEQP-GLES3.functional.shaders.deriva", 60 "te.dfdy.nicest.fbo_float.vec2_mediump"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017719, 63 "dEQP-GLES3.functional.shaders.deriv", 64 "ate.dfdy.nicest.fbo_float.vec3_lowp"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017720, 67 "dEQP-GLES3.functional.shaders.deriva", 68 "te.dfdy.nicest.fbo_float.vec3_mediump"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017721, 71 "dEQP-GLES3.functional.shaders.deriv", 72 "ate.dfdy.nicest.fbo_float.vec4_lowp"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017722, 75 "dEQP-GLES3.functional.shaders.deriva", 76 "te.dfdy.nicest.fbo_float.vec4_mediump"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017915, 79 "dEQP-GLES3.functional.shaders.deriva", 80 "te.fwidth.nicest.fbo_float.float_lowp"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017916, 83 "dEQP-GLES3.functional.shaders.derivate", 84 ".fwidth.nicest.fbo_float.float_mediump"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017917, 87 "dEQP-GLES3.functional.shaders.derivat", 88 "e.fwidth.nicest.fbo_float.float_highp"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017918, 91 "dEQP-GLES3.functional.shaders.deriva", 92 "te.fwidth.nicest.fbo_float.vec2_lowp"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017919, 95 "dEQP-GLES3.functional.shaders.derivat", 96 "e.fwidth.nicest.fbo_float.vec2_mediump"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017920, 99 "dEQP-GLES3.functional.shaders.deriva", 100 "te.fwidth.nicest.fbo_float.vec2_highp"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017921, 103 "dEQP-GLES3.functional.shaders.deriva", 104 "te.fwidth.nicest.fbo_float.vec3_lowp"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017922, 107 "dEQP-GLES3.functional.shaders.derivat", 108 "e.fwidth.nicest.fbo_float.vec3_mediump"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017923, 111 "dEQP-GLES3.functional.shaders.deriva", 112 "te.fwidth.nicest.fbo_float.vec3_highp"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017924, 115 "dEQP-GLES3.functional.shaders.deriva", 116 "te.fwidth.nicest.fbo_float.vec4_lowp"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017925, 119 "dEQP-GLES3.functional.shaders.derivat", 120 "e.fwidth.nicest.fbo_float.vec4_mediump"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017926, 123 "dEQP-GLES3.functional.shaders.deriva", 124 "te.fwidth.nicest.fbo_float.vec4_highp"); 125